a3ee13d767
* Add hashtag autocompletion, closes #769 * Apply review feedback
50 lines
No EOL
1.8 KiB
XML
50 lines
No EOL
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:padding="8dp">
|
|
|
|
<com.keylesspalace.tusky.view.RoundedImageView
|
|
android:id="@+id/avatar"
|
|
android:layout_width="42dp"
|
|
android:layout_height="42dp"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginEnd="8dp"
|
|
android:contentDescription="@null"
|
|
tools:src="@drawable/avatar_default" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_toEndOf="@id/avatar"
|
|
android:gravity="center_vertical"
|
|
android:orientation="vertical">
|
|
|
|
<!--TODO: Check if this needs emoji support-->
|
|
<!--FIXME: The placeholder texts seem to be swapped-->
|
|
<androidx.emoji.widget.EmojiTextView
|
|
android:id="@+id/display_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:textSize="?attr/status_text_large"
|
|
android:textStyle="normal|bold"
|
|
tools:text="\@ConnyDuck" />
|
|
|
|
<TextView
|
|
android:id="@+id/username"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"
|
|
android:textColor="?android:textColorSecondary"
|
|
android:textSize="?attr/status_text_medium"
|
|
tools:text="Conny Duck" />
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout> |