2017-01-31 05:51:02 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2017-03-12 12:45:36 +01:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-10-18 00:20:26 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/account_container"
|
2017-01-31 05:51:02 +01:00
|
|
|
android:layout_width="match_parent"
|
2017-03-12 12:45:36 +01:00
|
|
|
android:layout_height="72dp"
|
|
|
|
android:gravity="center_vertical"
|
2017-10-18 00:20:26 +02:00
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:paddingRight="16dp">
|
2017-01-31 05:51:02 +01:00
|
|
|
|
2018-07-30 15:36:22 +02:00
|
|
|
<com.keylesspalace.tusky.view.RoundedImageView
|
2017-10-18 00:20:26 +02:00
|
|
|
android:id="@+id/account_avatar"
|
2017-03-12 12:45:36 +01:00
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_centerVertical="true"
|
2018-02-16 22:12:56 +01:00
|
|
|
android:layout_marginEnd="24dp" />
|
2017-01-31 05:51:02 +01:00
|
|
|
|
2017-03-12 12:45:36 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
2017-07-12 08:09:07 +02:00
|
|
|
android:layout_toEndOf="@id/account_avatar"
|
2017-10-18 00:20:26 +02:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="vertical">
|
2017-01-31 05:51:02 +01:00
|
|
|
|
2018-05-10 11:16:56 +02:00
|
|
|
<android.support.text.emoji.widget.EmojiTextView
|
2017-10-18 00:20:26 +02:00
|
|
|
android:id="@+id/account_display_name"
|
2017-01-31 05:51:02 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-03-12 12:45:36 +01:00
|
|
|
android:ellipsize="end"
|
2017-10-18 00:20:26 +02:00
|
|
|
android:maxLines="1"
|
2017-03-12 12:45:36 +01:00
|
|
|
android:textColor="?android:textColorPrimary"
|
2017-12-01 21:52:10 +01:00
|
|
|
android:textSize="?attr/status_text_large"
|
2017-10-18 00:20:26 +02:00
|
|
|
android:textStyle="normal|bold"
|
|
|
|
tools:text="Display name" />
|
2017-03-12 12:45:36 +01:00
|
|
|
|
|
|
|
<TextView
|
2017-10-18 00:20:26 +02:00
|
|
|
android:id="@+id/account_username"
|
2017-03-12 12:45:36 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="end"
|
2017-10-18 00:20:26 +02:00
|
|
|
android:maxLines="1"
|
2017-03-12 12:45:36 +01:00
|
|
|
android:textColor="?android:textColorSecondary"
|
2017-12-01 21:52:10 +01:00
|
|
|
android:textSize="?attr/status_text_medium"
|
2017-10-18 00:20:26 +02:00
|
|
|
tools:text="\@username" />
|
2017-01-31 05:51:02 +01:00
|
|
|
|
2017-03-12 12:45:36 +01:00
|
|
|
</LinearLayout>
|
2017-01-31 05:51:02 +01:00
|
|
|
|
2017-03-12 12:45:36 +01:00
|
|
|
</RelativeLayout>
|