element-android/app/src/main/res/layout/item_room.xml

36 lines
1.4 KiB
XML
Raw Normal View History

2018-10-19 15:26:38 +03:00
<?xml version="1.0" encoding="utf-8"?>
<im.vector.riotredesign.core.platform.CheckableConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
2018-10-19 15:26:38 +03:00
xmlns:tools="http://schemas.android.com/tools"
2018-10-29 19:20:08 +03:00
android:id="@+id/itemRoomLayout"
2018-10-19 15:26:38 +03:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/bg_room_item"
2018-10-29 19:20:08 +03:00
android:minHeight="48dp">
<ImageView
android:id="@+id/avatarImageView"
2018-10-29 19:20:08 +03:00
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_marginStart="16dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:src="@tools:sample/avatars" />
<TextView
android:id="@+id/titleView"
2018-10-29 19:20:08 +03:00
android:layout_width="0dp"
android:layout_height="wrap_content"
2018-10-29 19:20:08 +03:00
android:layout_marginStart="16dp"
android:duplicateParentState="true"
android:textColor="@color/color_room_title"
android:textSize="14sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/avatarImageView"
app:layout_constraintTop_toTopOf="parent"
2018-10-29 19:20:08 +03:00
tools:text="@tools:sample/full_names" />
</im.vector.riotredesign.core.platform.CheckableConstraintLayout>