2015-09-17 00:31:24 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-02-01 03:28:40 +00:00
|
|
|
<org.thoughtcrime.securesms.conversation.ConversationUpdateItem
|
2018-06-26 17:27:44 +00:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/conversation_update_item"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@drawable/conversation_item_background"
|
|
|
|
android:focusable="true"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingBottom="6dp"
|
2019-03-20 22:52:14 +00:00
|
|
|
android:paddingStart="28dp"
|
|
|
|
android:paddingEnd="28dp"
|
2018-06-26 17:27:44 +00:00
|
|
|
android:paddingTop="8dp">
|
|
|
|
|
|
|
|
<LinearLayout
|
2015-09-21 17:54:23 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-06-26 17:27:44 +00:00
|
|
|
android:layout_marginBottom="7dp"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:gravity="center">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/conversation_update_icon"
|
|
|
|
android:layout_width="20dp"
|
|
|
|
android:layout_height="20dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginEnd="6dp"
|
|
|
|
android:src="@drawable/ic_timer" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/conversation_update_title"
|
|
|
|
style="@style/Signal.Text.Caption"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textAllCaps="true"
|
|
|
|
android:textColor="?conversation_item_update_text_color"
|
|
|
|
tools:text="1 hour" />
|
2015-09-17 00:31:24 +00:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2015-09-21 17:54:23 +00:00
|
|
|
|
2018-06-26 17:27:44 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="7dp"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/conversation_update_body"
|
|
|
|
style="@style/Signal.Text.Preview"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-12-05 02:56:12 +00:00
|
|
|
android:autoLink="none"
|
2018-06-26 17:27:44 +00:00
|
|
|
android:gravity="center"
|
|
|
|
android:linksClickable="true"
|
|
|
|
android:textColor="?attr/conversation_item_update_text_color"
|
|
|
|
tools:text="Gwen Stacy set the disappearing message timer to 1 hour" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/conversation_update_date"
|
|
|
|
style="@style/Signal.Text.Caption"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:autoLink="none"
|
|
|
|
android:gravity="center"
|
|
|
|
android:linksClickable="false"
|
|
|
|
android:minWidth="15sp"
|
|
|
|
android:textAllCaps="true"
|
|
|
|
android:textColor="?conversation_item_update_text_color"
|
|
|
|
tools:text="30 min ago" />
|
|
|
|
|
2019-12-05 02:56:12 +00:00
|
|
|
<Button
|
|
|
|
android:id="@+id/conversation_update_button"
|
|
|
|
style="@style/Button.Borderless"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:text="Button"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
2018-06-26 17:27:44 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
2019-02-01 03:28:40 +00:00
|
|
|
</org.thoughtcrime.securesms.conversation.ConversationUpdateItem>
|