mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-30 21:45:20 +00:00
81 lines
2.9 KiB
XML
81 lines
2.9 KiB
XML
<?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:background="@drawable/conversation_item_background"
|
|
android:focusable="true"
|
|
android:gravity="center"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="6dp"
|
|
android:paddingStart="48dp"
|
|
android:paddingEnd="48dp"
|
|
android:paddingTop="8dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
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"
|
|
android:textSize="@dimen/small_font_size"
|
|
android:textColor="@color/text"
|
|
tools:text="1 hour" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<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="none"
|
|
android:gravity="center"
|
|
android:linksClickable="true"
|
|
android:textSize="@dimen/small_font_size"
|
|
android:textColor="@color/text"
|
|
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"
|
|
android:textSize="@dimen/small_font_size"
|
|
android:textColor="@color/text"
|
|
tools:text="30 min ago" />
|
|
|
|
</LinearLayout>
|
|
|
|
</org.thoughtcrime.securesms.conversation.ConversationUpdateItem>
|