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:focusable="true"
|
2021-01-19 21:54:10 -05:00
|
|
|
android:paddingStart="26dp"
|
2021-01-23 14:40:26 -05:00
|
|
|
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"
|
2021-01-23 14:40:26 -05:00
|
|
|
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"
|
2021-01-23 14:40:26 -05:00
|
|
|
android:layout_marginTop="@dimen/conversation_update_vertical_margin"
|
|
|
|
android:layout_marginBottom="@dimen/conversation_update_vertical_margin"
|
2021-01-19 21:54:10 -05:00
|
|
|
android:orientation="vertical"
|
2018-06-26 10:27:44 -07:00
|
|
|
android:gravity="center"
|
2021-01-23 14:40:26 -05:00
|
|
|
android:paddingTop="@dimen/conversation_update_vertical_padding"
|
|
|
|
android:paddingBottom="@dimen/conversation_update_vertical_padding"
|
2021-01-19 21:54:10 -05:00
|
|
|
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"
|
2021-07-27 19:40:39 -03:00
|
|
|
style="@style/TextAppearance.Signal.Subtitle"
|
2021-01-22 14:40:05 -05:00
|
|
|
android:textSize="13sp"
|
2021-01-19 21:54:10 -05:00
|
|
|
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" />
|
|
|
|
|
2022-01-31 12:46:44 -05:00
|
|
|
<ViewStub
|
|
|
|
android:id="@+id/conversation_update_donate_action"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
2022-02-11 10:12:09 -05:00
|
|
|
android:layout_marginBottom="4dp"
|
2022-01-31 12:46:44 -05:00
|
|
|
android:layout="@layout/conversation_item_update_donate" />
|
|
|
|
|
2021-01-19 21:54:10 -05:00
|
|
|
</LinearLayout>
|
2020-11-04 14:19:14 -05:00
|
|
|
|
2019-01-31 19:28:40 -08:00
|
|
|
</org.thoughtcrime.securesms.conversation.ConversationUpdateItem>
|