suggestion_room_item.xml 1.13 KB
Newer Older
1 2 3 4 5
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
6 7 8 9
    android:layout_marginBottom="2dp"
    android:layout_marginEnd="2dp"
    android:layout_marginStart="8dp"
    android:layout_marginTop="2dp"
10
    android:background="@color/suggestion_background_color">
11

12 13 14
    <TextView
        android:id="@+id/text_name"
        android:layout_width="wrap_content"
15
        android:layout_height="wrap_content"
16
        android:maxLines="1"
17
        android:textColor="@color/colorBlack"
18 19
        android:textSize="16sp"
        tools:text="@tools:sample/full_names" />
20

21 22 23 24 25 26 27
    <TextView
        android:id="@+id/text_fullname"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_toEndOf="@+id/text_name"
        android:maxLines="1"
        android:layout_marginStart="8dp"
28
        android:textColor="@color/actionMenuColor"
29 30
        android:textSize="16sp"
        tools:text="@tools:sample/full_names" />
31 32

</RelativeLayout>