2017-02-22 13:12:49 +11:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<com.android.volley.toolbox.NetworkImageView
|
|
|
|
android:layout_width="64dp"
|
|
|
|
android:layout_height="64dp"
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
android:id="@+id/blocked_user_avatar"
|
|
|
|
android:padding="@dimen/status_avatar_padding"
|
|
|
|
android:layout_alignParentLeft="true" />
|
|
|
|
|
2017-03-01 16:36:15 +11:00
|
|
|
<Button
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/blocked_user_unblock"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:text="@string/action_unblock"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_centerVertical="true" />
|
|
|
|
|
2017-02-22 13:12:49 +11:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="64dp"
|
|
|
|
android:orientation="vertical"
|
2017-03-01 16:36:15 +11:00
|
|
|
android:layout_toRightOf="@id/blocked_user_avatar"
|
|
|
|
android:layout_toLeftOf="@id/blocked_user_unblock">
|
2017-02-22 13:12:49 +11:00
|
|
|
|
|
|
|
<Space
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/blocked_user_display_name"
|
2017-02-27 11:14:50 +11:00
|
|
|
android:textAppearance="@android:style/TextAppearance.DeviceDefault.Small"
|
|
|
|
android:textStyle="normal|bold" />
|
2017-02-22 13:12:49 +11:00
|
|
|
|
|
|
|
<Space
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/blocked_user_username"
|
2017-02-27 11:14:50 +11:00
|
|
|
android:textColor="?attr/status_text_color_secondary" />
|
2017-02-22 13:12:49 +11:00
|
|
|
|
|
|
|
<Space
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</RelativeLayout>
|