2020-09-10 10:39:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:padding="16dp">
|
|
|
|
|
|
|
|
<com.facebook.drawee.view.SimpleDraweeView
|
|
|
|
android:id="@+id/profile_pic"
|
|
|
|
android:layout_width="@dimen/image_size_40"
|
|
|
|
android:layout_height="@dimen/image_size_40"
|
2020-09-13 10:21:14 +00:00
|
|
|
android:background="@android:color/transparent"
|
2020-09-10 10:39:10 +00:00
|
|
|
android:scaleType="centerCrop"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:roundAsCircle="true" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:id="@+id/full_name"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
2020-09-13 10:21:14 +00:00
|
|
|
android:background="@android:color/transparent"
|
2020-09-10 10:39:10 +00:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:paddingEnd="16dp"
|
|
|
|
android:paddingRight="16dp"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
|
|
|
|
android:textStyle="bold"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/username"
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/arrow_down"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/profile_pic"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:text="full name" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:id="@+id/username"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
2020-09-13 10:21:14 +00:00
|
|
|
android:background="@android:color/transparent"
|
2020-09-10 10:39:10 +00:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:paddingEnd="16dp"
|
|
|
|
android:paddingRight="16dp"
|
2020-09-13 10:21:14 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Caption"
|
2020-09-10 10:39:10 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/arrow_down"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/profile_pic"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/full_name"
|
|
|
|
tools:text="\@username" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
android:id="@+id/arrow_down"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-09-13 10:21:14 +00:00
|
|
|
android:background="@android:color/transparent"
|
2020-09-10 10:39:10 +00:00
|
|
|
android:padding="8dp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/full_name"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:srcCompat="@drawable/ic_arrow_drop_down_24"
|
|
|
|
app:tint="?colorAccent" />
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|