1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-12 17:57:29 +00:00
BarInsta/app/src/main/res/layout/item_suggestion.xml

52 lines
2.0 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"
xmlns:tools="http://schemas.android.com/tools"
android:foreground="?android:selectableItemBackground"
tools:viewBindingIgnore="true"
android:padding="2dp">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/ivProfilePic"
android:layout_width="40dp"
android:layout_height="40dp"
android:adjustViewBounds="true"
android:scaleType="fitCenter" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="44dp"
android:layout_marginLeft="44dp"
android:orientation="vertical">
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/tvUsername"
android:layout_width="match_parent"
android:layout_height="40dp"
android:gravity="center_vertical"
android:textAppearance="@style/TextAppearance.AppCompat"
app:autoSizeMaxTextSize="24sp"
app:autoSizeTextType="uniform" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/tvFullName"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
app:autoSizeMaxTextSize="18sp"
app:autoSizeTextType="uniform" />
</LinearLayout>
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/isVerified"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="end"
android:adjustViewBounds="true"
android:scaleType="fitCenter"
android:visibility="gone"
app:srcCompat="@drawable/verified" />
</FrameLayout>