mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-29 11:17:47 +00:00
4185006147
Closes #2430 // FREEBIE
73 lines
3.2 KiB
XML
73 lines
3.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<org.thoughtcrime.securesms.ConversationItem
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/conversation_item"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:background="?conversation_item_background">
|
|
|
|
<RelativeLayout android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="6dp"
|
|
android:layout_marginLeft="6dp"
|
|
android:layout_marginBottom="6dp"
|
|
android:layout_marginRight="0dp">
|
|
|
|
<LinearLayout android:id="@+id/indicators_parent"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:gravity="left|center_vertical"
|
|
android:layout_marginLeft="6dp"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_centerVertical="true">
|
|
|
|
<ImageView
|
|
android:id="@+id/sms_failed_indicator"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_error_red_24dp"
|
|
tools:visibility="visible"
|
|
android:visibility="gone"
|
|
android:contentDescription="@string/conversation_item_sent__send_failed_indicator_description" />
|
|
|
|
<ImageView
|
|
android:id="@+id/pending_approval_indicator"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_info_outline_grey600_24dp"
|
|
android:visibility="gone"
|
|
android:layout_gravity="center_vertical"
|
|
android:contentDescription="@string/conversation_item_sent__pending_approval_description"
|
|
tools:visibility="visible" />
|
|
|
|
</LinearLayout>
|
|
|
|
<org.thoughtcrime.securesms.components.OutgoingBubbleContainer
|
|
android:id="@+id/bubble"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<TextView android:id="@+id/indicator_text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/bubble"
|
|
android:layout_alignParentRight="true"
|
|
android:paddingRight="5dip"
|
|
android:paddingLeft="5dip"
|
|
android:paddingTop="3dp"
|
|
android:paddingBottom="3dp"
|
|
android:layout_marginLeft="50dp"
|
|
android:layout_marginRight="15dp"
|
|
android:layout_marginTop="-2dp"
|
|
android:textSize="12sp"
|
|
android:textColor="?conversation_sent_text_indicator_tab_color"
|
|
android:background="?conversation_item_sent_indicator_text_background"
|
|
android:visibility="gone" />
|
|
|
|
</RelativeLayout>
|
|
</org.thoughtcrime.securesms.ConversationItem>
|