<?
xml version=
"1.0" encoding=
"utf-8"?>
<RelativeLayout
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:
id=
"@+id/title_container"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_gravity=
"center_vertical"
android:background=
"?attr/selectableItemBackgroundBorderless">
<ch.threema.app.ui.AvatarView
android:
id=
"@+id/avatar_view"
android:layout_width=
"@dimen/compose_title_avatar_size"
android:layout_height=
"@dimen/compose_title_avatar_size"
android:layout_alignParentLeft=
"true"
android:layout_centerVertical=
"true"
android:layout_marginRight=
"16dp"
android:contentDescription=
"@string/threema_contact" />
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignWithParentIfMissing=
"true"
android:layout_centerVertical=
"true"
android:layout_toRightOf=
"@id/avatar_view"
android:orientation=
"vertical">
<ch.threema.app.emojis.EmojiTextView
android:
id=
"@+id/title"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"left"
android:ellipsize=
"end"
android:includeFontPadding=
"false"
android:singleLine=
"true"
android:textAppearance=
"@style/Threema.TextAppearance.Toolbar.Title"
tools:text=
"Title" />
<FrameLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"left">
<ch.threema.app.ui.VerificationLevelImageView
android:
id=
"@+id/subtitle_image"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"2dp"
android:layout_marginBottom=
"1dp"
android:adjustViewBounds=
"true"
android:maxHeight=
"@dimen/grid_unit_x1"
android:visibility=
"gone"
app:srcCompat=
"@drawable/ic_verification_none"
tools:visibility=
"visible" />
<ch.threema.app.emojis.EmojiTextView
android:
id=
"@+id/subtitle_text"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:ellipsize=
"end"
android:singleLine=
"true"
android:textAppearance=
"@style/Threema.TextAppearance.Toolbar.SubTitle"
android:visibility=
"gone" />
</FrameLayout>
</LinearLayout>
</RelativeLayout>