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"
|
2017-03-13 00:01:50 +11:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2017-08-05 18:52:58 +10:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2017-02-22 13:12:49 +11:00
|
|
|
android:layout_width="match_parent"
|
2017-03-13 00:01:50 +11:00
|
|
|
android:layout_height="72dp"
|
2017-08-05 18:52:58 +10:00
|
|
|
android:gravity="center_vertical"
|
2017-03-13 00:01:50 +11:00
|
|
|
android:paddingLeft="16dp"
|
2017-08-05 18:52:58 +10:00
|
|
|
android:paddingRight="16dp">
|
2017-03-13 00:01:50 +11:00
|
|
|
|
2019-05-26 16:46:08 +10:00
|
|
|
<ImageView
|
2017-08-05 18:52:58 +10:00
|
|
|
android:id="@+id/blocked_user_avatar"
|
2017-03-13 00:01:50 +11:00
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
2017-08-05 18:52:58 +10:00
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_centerVertical="true"
|
2017-07-12 16:09:07 +10:00
|
|
|
android:layout_marginEnd="24dp"
|
2017-04-29 13:52:14 +10:00
|
|
|
android:contentDescription="@string/action_view_profile" />
|
2017-03-13 00:01:50 +11:00
|
|
|
|
|
|
|
<ImageButton
|
2017-03-01 16:36:15 +11:00
|
|
|
android:id="@+id/blocked_user_unblock"
|
2020-01-31 07:37:28 +11:00
|
|
|
style="@style/TuskyImageButton"
|
2017-08-05 18:52:58 +10:00
|
|
|
android:layout_width="32dp"
|
|
|
|
android:layout_height="32dp"
|
2017-07-12 16:09:07 +10:00
|
|
|
android:layout_alignParentEnd="true"
|
2017-04-12 14:21:52 +10:00
|
|
|
android:layout_centerVertical="true"
|
2017-08-05 18:52:58 +10:00
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
|
android:contentDescription="@string/action_unblock"
|
|
|
|
android:padding="4dp"
|
|
|
|
app:srcCompat="@drawable/ic_clear_24dp" />
|
2017-03-01 16:36:15 +11:00
|
|
|
|
2017-02-22 13:12:49 +11:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
2017-03-13 00:01:50 +11:00
|
|
|
android:layout_height="match_parent"
|
2017-07-12 16:09:07 +10:00
|
|
|
android:layout_toEndOf="@id/blocked_user_avatar"
|
2017-08-05 18:52:58 +10:00
|
|
|
android:layout_toStartOf="@id/blocked_user_unblock"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2018-12-18 01:25:35 +11:00
|
|
|
<androidx.emoji.widget.EmojiTextView
|
2017-08-05 18:52:58 +10:00
|
|
|
android:id="@+id/blocked_user_display_name"
|
2017-02-22 13:12:49 +11:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-03-13 00:01:50 +11:00
|
|
|
android:ellipsize="end"
|
2017-08-05 18:52:58 +10:00
|
|
|
android:maxLines="1"
|
2017-03-13 00:01:50 +11:00
|
|
|
android:textColor="?android:textColorPrimary"
|
2017-12-02 07:52:10 +11:00
|
|
|
android:textSize="?attr/status_text_large"
|
2017-08-05 18:52:58 +10:00
|
|
|
android:textStyle="normal|bold"
|
|
|
|
tools:text="Display name" />
|
|
|
|
|
2017-02-22 13:12:49 +11:00
|
|
|
<TextView
|
2017-08-05 18:52:58 +10:00
|
|
|
android:id="@+id/blocked_user_username"
|
2017-02-22 13:12:49 +11:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-03-13 00:01:50 +11:00
|
|
|
android:ellipsize="end"
|
2017-08-05 18:52:58 +10:00
|
|
|
android:maxLines="1"
|
|
|
|
android:textColor="?android:textColorSecondary"
|
2017-12-02 07:52:10 +11:00
|
|
|
android:textSize="?attr/status_text_medium"
|
2017-08-05 18:52:58 +10:00
|
|
|
tools:text="\@username" />
|
2017-07-12 16:09:07 +10:00
|
|
|
|
2017-02-22 13:12:49 +11:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</RelativeLayout>
|