Signal-Android/app/src/main/res/layout/conversation_item_update.xml

36 lines
1.5 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<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"
xmlns:app="http://schemas.android.com/apk/res-auto"
2018-06-26 10:27:44 -07:00
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"
android:paddingStart="28dp"
android:paddingEnd="28dp"
2018-06-26 10:27:44 -07:00
android:paddingTop="8dp">
<org.thoughtcrime.securesms.components.emoji.EmojiTextView
android:id="@+id/conversation_update_body"
style="@style/Signal.Text.Preview"
2015-09-21 10:54:23 -07:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-06-26 10:27:44 -07:00
android:gravity="center"
android:textColor="?attr/conversation_item_update_text_color"
tools:text="Gwen Stacy set the disappearing message timer to 1 hour" />
2018-06-26 10:27:44 -07:00
2020-11-04 14:19:14 -05:00
<com.google.android.material.button.MaterialButton
android:id="@+id/conversation_update_action"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
style="?attr/outlined_action_button"
tools:text="Learn more"/>
</org.thoughtcrime.securesms.conversation.ConversationUpdateItem>