2017-06-19 13:34:48 +10:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-03-31 04:46:36 +11:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2017-06-19 13:34:48 +10:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-12-02 07:52:10 +11:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:padding="8dp">
|
2017-06-19 13:34:48 +10:00
|
|
|
|
2018-07-30 23:36:22 +10:00
|
|
|
<com.keylesspalace.tusky.view.RoundedImageView
|
2017-12-02 07:52:10 +11:00
|
|
|
android:id="@+id/avatar"
|
2017-06-19 13:34:48 +10:00
|
|
|
android:layout_width="42dp"
|
|
|
|
android:layout_height="42dp"
|
|
|
|
android:layout_centerVertical="true"
|
2017-07-12 16:09:07 +10:00
|
|
|
android:layout_marginEnd="8dp"
|
2017-12-02 07:52:10 +11:00
|
|
|
android:contentDescription="@null"
|
2018-03-31 04:46:36 +11:00
|
|
|
tools:src="@drawable/avatar_default" />
|
2017-06-19 13:34:48 +10:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
2017-07-12 16:09:07 +10:00
|
|
|
android:layout_toEndOf="@id/avatar"
|
2017-12-02 07:52:10 +11:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="vertical">
|
2017-06-19 13:34:48 +10:00
|
|
|
|
2018-12-18 01:25:35 +11:00
|
|
|
<androidx.emoji.widget.EmojiTextView
|
2017-12-02 07:52:10 +11:00
|
|
|
android:id="@+id/display_name"
|
2017-06-19 13:34:48 +10:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="end"
|
2017-12-02 07:52:10 +11:00
|
|
|
android:maxLines="1"
|
2017-06-19 13:34:48 +10:00
|
|
|
android:textColor="?android:textColorPrimary"
|
2017-12-02 07:52:10 +11:00
|
|
|
android:textSize="?attr/status_text_large"
|
2018-03-31 04:46:36 +11:00
|
|
|
android:textStyle="normal|bold"
|
2019-03-09 06:27:30 +11:00
|
|
|
tools:text="Conny Duck" />
|
2017-06-19 13:34:48 +10:00
|
|
|
|
|
|
|
<TextView
|
2017-12-02 07:52:10 +11:00
|
|
|
android:id="@+id/username"
|
2017-06-19 13:34:48 +10:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="end"
|
2017-12-02 07:52:10 +11:00
|
|
|
android:maxLines="1"
|
|
|
|
android:textColor="?android:textColorSecondary"
|
2018-03-31 04:46:36 +11:00
|
|
|
android:textSize="?attr/status_text_medium"
|
2019-03-09 06:27:30 +11:00
|
|
|
tools:text="\@ConnyDuck" />
|
2017-06-19 13:34:48 +10:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</RelativeLayout>
|