2015-06-09 14:37:20 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2015-06-22 16:52:46 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2015-06-29 22:33:36 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2015-06-09 14:37:20 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_height="130dp"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:minHeight="?attr/actionBarSize"
|
|
|
|
android:background="?attr/colorPrimary"
|
|
|
|
android:theme="@style/TextSecure.LightActionBar">
|
|
|
|
|
2015-07-06 22:11:24 +00:00
|
|
|
<LinearLayout android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:gravity="center_vertical">
|
2015-06-09 14:37:20 +00:00
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.AvatarImageView
|
|
|
|
android:id="@+id/avatar"
|
|
|
|
android:foreground="@drawable/contact_photo_background"
|
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:cropToPadding="true"
|
2015-07-06 22:11:24 +00:00
|
|
|
app:inverted="true" />
|
|
|
|
|
|
|
|
<LinearLayout android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingLeft="10dp">
|
|
|
|
|
2015-07-17 18:07:51 +00:00
|
|
|
<org.thoughtcrime.securesms.components.emoji.EmojiTextView
|
|
|
|
android:id="@+id/name"
|
2015-07-06 22:11:24 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:transitionName="recipient_name"
|
|
|
|
style="@style/TextSecure.TitleTextStyle"
|
|
|
|
tools:ignore="UnusedAttribute" />
|
|
|
|
|
|
|
|
<TextView android:id="@+id/blocked_indicator"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/recipient_preference_activity__blocked"
|
|
|
|
android:textSize="12sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:textColor="?recipient_preference_blocked"
|
|
|
|
android:textAllCaps="true"
|
2015-07-26 20:50:02 +00:00
|
|
|
android:background="@drawable/blocked_indicator_background"
|
|
|
|
android:paddingTop="3dp"
|
|
|
|
android:paddingBottom="3dp"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:paddingRight="5dp"
|
|
|
|
android:layout_marginTop="2dp"
|
2015-07-06 22:11:24 +00:00
|
|
|
tools:ignore="UnusedAttribute" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2015-06-09 14:37:20 +00:00
|
|
|
|
|
|
|
</android.support.v7.widget.Toolbar>
|
|
|
|
|
|
|
|
<FrameLayout android:id="@+id/preference_fragment"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent" />
|
|
|
|
</LinearLayout>
|