<?xml version="1.0" encoding="utf-8"?>
<org.thoughtcrime.securesms.conversation.ConversationUpdateItem
    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:focusable="true"
    android:paddingStart="26dp"
    android:paddingEnd="26dp">

    <LinearLayout
        android:id="@+id/conversation_update_background"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:layout_marginTop="@dimen/conversation_update_vertical_margin"
        android:layout_marginBottom="@dimen/conversation_update_vertical_margin"
        android:orientation="vertical"
        android:gravity="center"
        android:paddingTop="@dimen/conversation_update_vertical_padding"
        android:paddingBottom="@dimen/conversation_update_vertical_padding"
        android:paddingStart="10dp"
        android:paddingEnd="10dp">

        <org.thoughtcrime.securesms.components.emoji.EmojiTextView
            android:id="@+id/conversation_update_body"
            style="@style/TextAppearance.Signal.Subtitle"
            android:textSize="13sp"
            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" />

        <ViewStub
            android:id="@+id/conversation_update_donate_action"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="12dp"
            android:layout_marginBottom="4dp"
            android:layout="@layout/conversation_item_update_donate" />

    </LinearLayout>

</org.thoughtcrime.securesms.conversation.ConversationUpdateItem>
