forked from github/wulkanowy-mirror
35 lines
1.3 KiB
XML
35 lines
1.3 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:minHeight="56dp"
|
||
|
android:background="?selectableItemBackground"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/creatorItemAvatar"
|
||
|
android:layout_width="40dp"
|
||
|
android:layout_height="40dp"
|
||
|
android:contentDescription="@string/creator_avatar_description"
|
||
|
android:layout_marginLeft="16dp"
|
||
|
android:layout_marginStart="16dp"
|
||
|
android:layout_marginTop="8dp"
|
||
|
android:layout_marginBottom="8dp"/>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/creatorItemName"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:gravity="bottom"
|
||
|
android:textSize="16sp"
|
||
|
tools:text="@tools:sample/lorem"
|
||
|
android:layout_centerVertical="true"
|
||
|
android:layout_toEndOf="@id/creatorItemAvatar"
|
||
|
android:layout_toRightOf="@id/creatorItemAvatar"
|
||
|
android:layout_marginLeft="16dp"
|
||
|
android:layout_marginStart="16dp"
|
||
|
android:layout_marginRight="16dp"
|
||
|
android:layout_marginEnd="16dp" />
|
||
|
</RelativeLayout>
|