2018-11-05 20:34:18 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
2019-05-15 20:44:06 +03:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2018-11-05 20:34:18 +03:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/itemGroupLayout"
|
|
|
|
android:layout_width="match_parent"
|
2019-05-15 20:44:06 +03:00
|
|
|
android:layout_height="56dp"
|
2018-11-05 20:34:18 +03:00
|
|
|
android:background="@android:color/transparent"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
2019-05-15 20:44:06 +03:00
|
|
|
android:padding="16dp">
|
2018-11-05 20:34:18 +03:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/groupAvatarImageView"
|
2019-05-15 20:44:06 +03:00
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
2018-11-05 20:34:18 +03:00
|
|
|
android:layout_gravity="center"
|
2018-11-07 14:17:10 +03:00
|
|
|
android:duplicateParentState="true"
|
2019-05-15 20:44:06 +03:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2018-11-05 20:34:18 +03:00
|
|
|
tools:src="@tools:sample/avatars" />
|
|
|
|
|
2019-05-15 20:44:06 +03:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/groupNameView"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="32dp"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/groupAvatarImageView"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/groupAvatarChevron"
|
|
|
|
app:layout_constraintHorizontal_bias="0.0"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/groupAvatarImageView"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/groupAvatarImageView"
|
|
|
|
tools:text="@tools:sample/lorem/random" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/groupAvatarChevron"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:src="@drawable/ic_material_chevron_right_black"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|