47 lines
1.6 KiB
XML
47 lines
1.6 KiB
XML
<?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:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="15dp"
|
|
android:paddingTop="5dp"
|
|
android:paddingRight="15dp"
|
|
android:paddingBottom="5dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/authorAvatar"
|
|
android:layout_width="@dimen/list_avatar_size_medium"
|
|
android:layout_height="@dimen/list_avatar_size_medium"
|
|
android:layout_marginEnd="10dp"
|
|
android:contentDescription="@string/generalImgContentText"
|
|
tools:src="@tools:sample/avatars" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/authorFullName"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="?attr/primaryTextColor"
|
|
android:textSize="14sp"
|
|
android:textStyle="bold"
|
|
tools:text="opyale" />
|
|
|
|
<TextView
|
|
android:id="@+id/authorLogin"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="?attr/primaryTextColor"
|
|
tools:text="opyale" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|