2015-06-09 14:37:20 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-02-01 03:28:40 +00:00
|
|
|
<org.thoughtcrime.securesms.conversation.ConversationTitleView
|
2017-09-13 05:48:30 +00:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
<ImageView android:id="@+id/up_button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:src="@drawable/ic_arrow_back_white_24dp"
|
|
|
|
android:clickable="true"
|
2018-02-12 18:00:12 +00:00
|
|
|
android:paddingRight="12dp"
|
|
|
|
android:paddingEnd="12dp"
|
|
|
|
android:layout_marginRight="12dp"
|
|
|
|
android:layout_marginEnd="12dp"
|
2017-09-13 05:48:30 +00:00
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:visibility="visible"/>
|
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.AvatarImageView
|
|
|
|
android:id="@+id/contact_photo_image"
|
|
|
|
android:foreground="@drawable/contact_photo_background"
|
2018-02-11 22:04:52 +00:00
|
|
|
android:layout_width="40dp"
|
|
|
|
android:layout_height="40dp"
|
2017-09-13 05:48:30 +00:00
|
|
|
android:layout_toRightOf="@id/up_button"
|
|
|
|
android:layout_toEndOf="@id/up_button"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_marginRight="10dp"
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
android:cropToPadding="true"
|
|
|
|
android:transitionName="contact_photo"
|
2017-10-04 21:04:04 +00:00
|
|
|
android:clickable="true"
|
2017-09-13 05:48:30 +00:00
|
|
|
app:inverted="true"
|
|
|
|
tools:src="@drawable/ic_contact_picture"
|
|
|
|
android:contentDescription="@string/conversation_list_item_view__contact_photo_image"/>
|
|
|
|
|
|
|
|
<RelativeLayout android:id="@+id/content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_toRightOf="@id/contact_photo_image"
|
|
|
|
android:layout_toEndOf="@id/contact_photo_image"
|
|
|
|
android:layout_centerVertical="true">
|
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.emoji.EmojiTextView
|
|
|
|
android:id="@+id/title"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-05-22 17:56:02 +00:00
|
|
|
android:maxLines="1"
|
2017-09-13 05:48:30 +00:00
|
|
|
android:ellipsize="end"
|
|
|
|
android:textSize="18dp"
|
|
|
|
android:transitionName="recipient_name"
|
|
|
|
android:drawablePadding="5dp"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
style="@style/TextSecure.TitleTextStyle"
|
|
|
|
tools:ignore="UnusedAttribute"/>
|
2017-06-07 01:03:09 +00:00
|
|
|
|
|
|
|
<ImageView android:id="@+id/verified_indicator"
|
|
|
|
android:src="@drawable/ic_check_circle_white_18dp"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginRight="3dp"
|
2017-09-13 05:48:30 +00:00
|
|
|
android:layout_marginEnd="3dp"
|
2017-06-07 01:03:09 +00:00
|
|
|
android:layout_gravity="bottom"
|
2017-09-13 05:48:30 +00:00
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_below="@id/title"
|
2017-06-07 01:03:09 +00:00
|
|
|
android:alpha="0.7"
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
2017-08-24 23:52:12 +00:00
|
|
|
<org.thoughtcrime.securesms.components.emoji.EmojiTextView
|
2017-09-13 05:48:30 +00:00
|
|
|
android:id="@+id/subtitle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-05-22 17:56:02 +00:00
|
|
|
android:maxLines="1"
|
2017-09-13 05:48:30 +00:00
|
|
|
android:ellipsize="end"
|
|
|
|
android:layout_gravity="center_vertical|start"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:layout_toRightOf="@id/verified_indicator"
|
|
|
|
android:layout_toEndOf="@id/verified_indicator"
|
|
|
|
android:layout_below="@id/title"
|
|
|
|
android:textDirection="ltr"
|
|
|
|
android:textSize="13dp"
|
|
|
|
tools:text="(123) 123-1234"
|
|
|
|
style="@style/TextSecure.SubtitleTextStyle"/>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
2015-06-09 14:37:20 +00:00
|
|
|
|
2019-02-01 03:28:40 +00:00
|
|
|
</org.thoughtcrime.securesms.conversation.ConversationTitleView>
|