mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-25 02:55:23 +00:00
96 lines
4.3 KiB
XML
96 lines
4.3 KiB
XML
<?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"
|
|
android:layout_height="wrap_content"
|
|
android:padding="16dp">
|
|
|
|
<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"
|
|
android:layout_centerVertical="true"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_marginTop="3dp"
|
|
android:layout_marginBottom="3dp"
|
|
android:layout_marginEnd="10dp" />
|
|
|
|
<LinearLayout android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="4dip"
|
|
android:layout_marginBottom="4dip"
|
|
android:layout_toEndOf="@id/profilePictureView"
|
|
android:layout_centerVertical="true"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout android:layout_width="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<org.thoughtcrime.securesms.components.FromTextView
|
|
android:id="@+id/from"
|
|
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" />
|
|
|
|
<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" />
|
|
|
|
</LinearLayout>
|
|
|
|
<Button android:id="@+id/conflict_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="38sp"
|
|
style="@style/ErrorButton"
|
|
android:paddingStart="10dp"
|
|
android:paddingEnd="10dp"
|
|
android:paddingTop="5dp"
|
|
android:paddingBottom="5dp"
|
|
android:layout_gravity="center_vertical"
|
|
android:drawableStart="@drawable/ic_error_white_18dp"
|
|
android:text="@string/message_recipients_list_item__view"
|
|
android:visibility="gone"
|
|
tools:visibility="gone" />
|
|
|
|
<ImageView android:id="@+id/ud_indicator"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="4dp"
|
|
android:layout_marginEnd="4dp"
|
|
android:src="@drawable/ic_unidentified_delivery"
|
|
android:tint="?attr/conversation_item_sent_text_secondary_color"/>
|
|
|
|
<org.thoughtcrime.securesms.components.DeliveryStatusView
|
|
android:id="@+id/delivery_status"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
app:iconColor="?attr/conversation_item_sent_text_secondary_color"
|
|
android:visibility="gone"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</org.thoughtcrime.securesms.MessageRecipientListItem>
|