forked from GitHub-Mirror/riotX-android
43 lines
1.4 KiB
XML
43 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="44dp"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingStart="8dp"
|
|
android:paddingLeft="8dp"
|
|
android:paddingEnd="8dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/readReceiptAvatar"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:layout_marginEnd="8dp"
|
|
tools:src="@tools:sample/avatars" />
|
|
|
|
<TextView
|
|
android:id="@+id/readReceiptName"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="4dp"
|
|
android:layout_marginLeft="4dp"
|
|
android:layout_weight="1"
|
|
android:ellipsize="end"
|
|
android:lines="1"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:textSize="16sp"
|
|
tools:text="@sample/matrix.json/data/displayName" />
|
|
|
|
<TextView
|
|
android:id="@+id/readReceiptDate"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:lines="1"
|
|
android:textColor="?android:textColorSecondary"
|
|
android:textSize="12sp"
|
|
tools:text="10:44" />
|
|
|
|
|
|
</LinearLayout> |