mirror of https://codeberg.org/tom79/Fedilab
parent
0861becc56
commit
4711d5fd23
@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/media"
|
||||
android:contentDescription="@string/thumbnail"
|
||||
android:layout_margin="5dp"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
tools:src="@tools:sample/avatars"
|
||||
android:layout_gravity="center"
|
||||
android:scaleType="centerCrop" />
|
||||
<TextView
|
||||
android:id="@+id/media_name"
|
||||
android:contentDescription="@string/thumbnail"
|
||||
android:layout_margin="5dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:ellipsize="end"
|
||||
android:layout_gravity="center"
|
||||
android:maxLines="1"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
tools:text="@tools:sample/lorem/random"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
Loading…
Reference in new issue