1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-15 19:27:31 +00:00
BarInsta/app/src/main/res/layout/item_follow.xml

51 lines
1.9 KiB
XML
Raw Normal View History

2020-07-01 17:08:28 +00:00
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:foreground="?android:selectableItemBackground"
2020-09-11 16:44:34 +00:00
android:padding="8dp">
2020-07-01 17:08:28 +00:00
2020-09-11 16:44:34 +00:00
<com.facebook.drawee.view.SimpleDraweeView
2020-07-01 17:08:28 +00:00
android:id="@+id/ivProfilePic"
android:layout_width="60dp"
android:layout_height="60dp"
2020-07-01 17:08:28 +00:00
android:adjustViewBounds="true"
android:scaleType="fitCenter" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginStart="66dp"
android:layout_marginEnd="26dp"
2020-07-01 17:08:28 +00:00
android:orientation="vertical">
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/tvFullName"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:gravity="center_vertical"
android:textAppearance="@style/TextAppearance.AppCompat.Large"
app:autoSizeMaxTextSize="28sp"
app:autoSizeMinTextSize="16sp"
app:autoSizeTextType="uniform" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/tvUsername"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:gravity="center_vertical"
android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
</LinearLayout>
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/isAdmin"
android:layout_width="20dp"
android:layout_height="60dp"
2020-09-11 16:44:34 +00:00
android:layout_gravity="end"
android:scaleType="fitCenter"
2020-09-11 16:44:34 +00:00
android:visibility="gone"
app:srcCompat="@drawable/ic_star_24" />
2020-07-01 17:08:28 +00:00
</FrameLayout>