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"
|
2020-01-16 00:37:52 +00:00
|
|
|
android:paddingStart="48dp"
|
|
|
|
android:paddingEnd="48dp"
|
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"
|
2020-01-16 00:37:52 +00:00
|
|
|
android:textSize="@dimen/small_font_size"
|
|
|
|
android:textColor="@color/text"
|
2018-06-26 17:27:44 +00:00
|
|
|
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"
|
|
|
|
android:autoLink="all"
|
|
|
|
android:gravity="center"
|
|
|
|
android:linksClickable="true"
|
2020-01-16 00:37:52 +00:00
|
|
|
android:textSize="@dimen/small_font_size"
|
|
|
|
android:textColor="@color/text"
|
2018-06-26 17:27:44 +00:00
|
|
|
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"
|
2020-01-16 00:37:52 +00:00
|
|
|
android:textSize="@dimen/small_font_size"
|
|
|
|
android:textColor="@color/text"
|
2018-06-26 17:27:44 +00:00
|
|
|
tools:text="30 min ago" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2019-02-01 03:28:40 +00:00
|
|
|
</org.thoughtcrime.securesms.conversation.ConversationUpdateItem>
|