2018-11-05 20:34:18 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-08-03 19:23:05 +03:00
|
|
|
<im.vector.app.core.platform.CheckableConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-05-15 20:44:06 +03:00
|
|
|
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-29 11:21:02 +03:00
|
|
|
android:layout_height="65dp"
|
2021-03-12 00:35:11 +03:00
|
|
|
android:background="@drawable/bg_space_item"
|
2018-11-05 20:34:18 +03:00
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
2019-06-06 10:50:26 +03:00
|
|
|
android:foreground="?attr/selectableItemBackground">
|
2019-05-16 20:14:02 +03:00
|
|
|
|
2019-05-29 11:21:02 +03:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/groupAvatarImageView"
|
|
|
|
android:layout_width="42dp"
|
|
|
|
android:layout_height="42dp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginStart="@dimen/layout_horizontal_margin"
|
2021-02-12 19:44:12 +03:00
|
|
|
android:contentDescription="@string/avatar"
|
2019-05-29 11:21:02 +03:00
|
|
|
android:duplicateParentState="true"
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/groupBottomSeparator"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2021-05-10 23:34:13 +03:00
|
|
|
tools:src="@sample/room_round_avatars" />
|
2019-05-16 20:14:02 +03:00
|
|
|
|
2020-07-10 23:35:51 +03:00
|
|
|
<TextView
|
2019-05-29 11:21:02 +03:00
|
|
|
android:id="@+id/groupNameView"
|
2021-06-16 12:59:08 +03:00
|
|
|
style="@style/Widget.Vector.TextView.Subtitle"
|
2019-05-29 11:21:02 +03:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="@dimen/layout_horizontal_margin"
|
|
|
|
android:layout_marginEnd="@dimen/layout_horizontal_margin"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
2021-06-09 12:51:04 +03:00
|
|
|
android:textColor="?vctr_content_primary"
|
2019-05-29 11:21:02 +03:00
|
|
|
android:textStyle="bold"
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/groupBottomSeparator"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/groupAvatarChevron"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/groupAvatarImageView"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:text="@tools:sample/lorem/random" />
|
2019-05-16 20:14:02 +03:00
|
|
|
|
2019-05-29 11:21:02 +03:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/groupAvatarChevron"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="21dp"
|
2021-02-12 19:44:12 +03:00
|
|
|
android:importantForAccessibility="no"
|
2019-05-29 13:21:45 +03:00
|
|
|
android:src="@drawable/ic_arrow_right"
|
2019-05-29 11:21:02 +03:00
|
|
|
app:layout_constraintBottom_toTopOf="@+id/groupBottomSeparator"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2020-10-08 10:22:55 +03:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2021-06-09 12:51:04 +03:00
|
|
|
app:tint="?vctr_content_primary"
|
2020-10-08 10:22:55 +03:00
|
|
|
tools:ignore="MissingPrefix" />
|
2019-05-16 20:14:02 +03:00
|
|
|
|
2019-05-29 11:21:02 +03:00
|
|
|
<View
|
|
|
|
android:id="@+id/groupBottomSeparator"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="1dp"
|
2021-06-09 12:51:04 +03:00
|
|
|
android:background="?vctr_list_separator"
|
2019-05-29 11:21:02 +03:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent" />
|
2019-05-16 20:14:02 +03:00
|
|
|
|
2020-08-03 19:23:05 +03:00
|
|
|
</im.vector.app.core.platform.CheckableConstraintLayout>
|