2015-09-16 17:31:24 -07:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-10-22 10:59:23 -04:00
|
|
|
<org.thoughtcrime.securesms.conversation.ConversationUpdateItem
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-06-26 10:27:44 -07:00
|
|
|
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"
|
2021-01-19 21:54:10 -05:00
|
|
|
android:paddingStart="26dp"
|
|
|
|
android:paddingEnd="26dp">
|
2018-06-26 10:27:44 -07:00
|
|
|
|
2021-01-19 21:54:10 -05:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/conversation_update_background"
|
|
|
|
android:layout_width="wrap_content"
|
2015-09-21 10:54:23 -07:00
|
|
|
android:layout_height="wrap_content"
|
2021-01-19 21:54:10 -05:00
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginBottom="3dp"
|
|
|
|
android:orientation="vertical"
|
2018-06-26 10:27:44 -07:00
|
|
|
android:gravity="center"
|
2021-01-19 21:54:10 -05:00
|
|
|
android:paddingTop="8dp"
|
|
|
|
android:paddingBottom="8dp"
|
|
|
|
android:paddingStart="10dp"
|
|
|
|
android:paddingEnd="10dp">
|
2018-06-26 10:27:44 -07:00
|
|
|
|
2021-01-19 21:54:10 -05:00
|
|
|
<org.thoughtcrime.securesms.components.emoji.EmojiTextView
|
|
|
|
android:id="@+id/conversation_update_body"
|
|
|
|
style="@style/Signal.Text.Preview"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:textColor="@color/conversation_item_update_text_color"
|
|
|
|
tools:text="Gwen Stacy set the disappearing message timer to 1 hour" />
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/conversation_update_action"
|
|
|
|
style="@style/Signal.Widget.Button.Small.Primary"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:text="Learn more"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2020-11-04 14:19:14 -05:00
|
|
|
|
2019-01-31 19:28:40 -08:00
|
|
|
</org.thoughtcrime.securesms.conversation.ConversationUpdateItem>
|