2015-01-15 21:35:35 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<org.thoughtcrime.securesms.MessageRecipientListItem
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:layout_width="match_parent"
|
2015-03-24 20:37:57 +00:00
|
|
|
android:layout_height="wrap_content"
|
2017-09-30 15:45:45 +00:00
|
|
|
android:padding="16dp">
|
2015-01-15 21:35:35 +00:00
|
|
|
|
2020-09-17 01:39:34 +00:00
|
|
|
<org.thoughtcrime.securesms.loki.views.ProfilePictureView
|
|
|
|
android:id="@+id/profilePictureView"
|
|
|
|
android:layout_width="@dimen/medium_profile_picture_size"
|
|
|
|
android:layout_height="@dimen/medium_profile_picture_size"
|
2015-01-15 21:35:35 +00:00
|
|
|
android:layout_centerVertical="true"
|
2019-03-20 22:52:14 +00:00
|
|
|
android:layout_alignParentStart="true"
|
2015-01-15 21:35:35 +00:00
|
|
|
android:layout_marginTop="3dp"
|
|
|
|
android:layout_marginBottom="3dp"
|
2020-09-17 01:39:34 +00:00
|
|
|
android:layout_marginEnd="10dp" />
|
2015-01-15 21:35:35 +00:00
|
|
|
|
|
|
|
<LinearLayout android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="4dip"
|
|
|
|
android:layout_marginBottom="4dip"
|
2020-09-17 01:39:34 +00:00
|
|
|
android:layout_toEndOf="@id/profilePictureView"
|
2015-01-15 21:35:35 +00:00
|
|
|
android:layout_centerVertical="true"
|
2018-07-12 23:03:32 +00:00
|
|
|
android:gravity="center_vertical"
|
2015-01-15 21:35:35 +00:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<LinearLayout android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2015-05-04 18:36:18 +00:00
|
|
|
<org.thoughtcrime.securesms.components.FromTextView
|
|
|
|
android:id="@+id/from"
|
2015-01-15 21:35:35 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:textColor="?attr/conversation_list_item_contact_color"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
tools:text="Jules Bonnot"
|
|
|
|
android:ellipsize="marquee" />
|
|
|
|
|
|
|
|
<TextView android:id="@+id/error_description"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="#FFF44336"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible"
|
|
|
|
tools:text="New identity" />
|
|
|
|
|
2017-03-09 00:17:30 +00:00
|
|
|
<TextView android:id="@+id/action_description"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible"
|
|
|
|
tools:text="action" />
|
|
|
|
|
2015-01-15 21:35:35 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<Button android:id="@+id/conflict_button"
|
2015-03-05 00:40:31 +00:00
|
|
|
android:layout_width="wrap_content"
|
2015-01-15 21:35:35 +00:00
|
|
|
android:layout_height="38sp"
|
|
|
|
style="@style/ErrorButton"
|
2019-03-20 22:52:14 +00:00
|
|
|
android:paddingStart="10dp"
|
|
|
|
android:paddingEnd="10dp"
|
2015-01-15 21:35:35 +00:00
|
|
|
android:paddingTop="5dp"
|
|
|
|
android:paddingBottom="5dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
2019-03-20 22:52:14 +00:00
|
|
|
android:drawableStart="@drawable/ic_error_white_18dp"
|
2017-06-09 23:57:13 +00:00
|
|
|
android:text="@string/message_recipients_list_item__view"
|
2015-03-05 00:40:31 +00:00
|
|
|
android:visibility="gone"
|
2017-09-30 15:45:45 +00:00
|
|
|
tools:visibility="gone" />
|
2015-01-15 21:35:35 +00:00
|
|
|
|
2018-10-11 23:45:22 +00:00
|
|
|
<ImageView android:id="@+id/ud_indicator"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-03-20 22:52:14 +00:00
|
|
|
android:layout_marginStart="4dp"
|
|
|
|
android:layout_marginEnd="4dp"
|
2018-10-11 23:45:22 +00:00
|
|
|
android:src="@drawable/ic_unidentified_delivery"
|
|
|
|
android:tint="?attr/conversation_item_sent_text_secondary_color"/>
|
2015-01-15 21:35:35 +00:00
|
|
|
|
2017-09-30 15:45:45 +00:00
|
|
|
<org.thoughtcrime.securesms.components.DeliveryStatusView
|
|
|
|
android:id="@+id/delivery_status"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-10-11 16:55:33 +00:00
|
|
|
app:iconColor="?attr/conversation_item_sent_text_secondary_color"
|
2017-09-30 15:45:45 +00:00
|
|
|
android:visibility="gone"/>
|
2015-01-15 21:35:35 +00:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</org.thoughtcrime.securesms.MessageRecipientListItem>
|