aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout/message_status.xml
blob: 4bc1da3fed5fb52a73918a27104cf5de4b582ef4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:paddingStart="8dp"
    android:paddingLeft="8dp"
    android:paddingTop="5dp"
    android:paddingEnd="8dp"
    android:paddingRight="8dp"
    android:paddingBottom="5dp">

    <Button
        android:id="@+id/load_more_messages"
        style="@style/Widget.Conversations.Button.Borderless"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerHorizontal="true"
        android:layout_centerVertical="true"
        android:text="@string/load_more_messages"
        android:textColor="@color/accent" />

    <com.makeramen.roundedimageview.RoundedImageView
        android:id="@+id/message_photo"
        android:layout_width="32dp"
        android:layout_height="32dp"
        android:layout_alignParentStart="true"
        android:layout_alignParentLeft="true"
        android:layout_alignParentTop="true"
        android:layout_marginEnd="-1.5dp"
        android:layout_marginRight="-1.5dp"
        android:padding="0dp"
        android:scaleType="fitXY"
        android:visibility="gone"
        app:riv_corner_radius="@dimen/rounded_image_border" />

    <TextView
        android:id="@+id/status_message"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerVertical="true"
        android:layout_marginStart="8dp"
        android:layout_marginLeft="8dp"
        android:layout_toEndOf="@+id/message_photo"
        android:layout_toRightOf="@+id/message_photo"
        android:gravity="center_vertical"
        android:minHeight="32dp"
        android:text="@string/contact_has_read_up_to_this_point"
        android:textAppearance="@style/TextAppearance.Conversations.Status"
        android:visibility="gone" />
</RelativeLayout>