42 lines
1.4 KiB
XML
42 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:clickable="true"
|
|
android:background="@android:color/white"
|
|
android:foreground="?attr/selectableItemBackground">
|
|
|
|
<!-- info -->
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="40dp"
|
|
android:layout_gravity="center_vertical"
|
|
android:gravity="center_vertical"
|
|
android:layout_marginTop="15dp"
|
|
android:layout_marginBottom="15dp"
|
|
android:layout_marginLeft="18dp"
|
|
android:layout_marginRight="16dp">
|
|
|
|
<!-- name -->
|
|
<TextView
|
|
android:id="@+id/label"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="14sp"
|
|
android:textColor="@android:color/black"
|
|
android:text="Two line item"/>
|
|
|
|
<TextView
|
|
android:id="@+id/info"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="2dp"
|
|
android:textSize="13sp"
|
|
android:text="secondary text"/>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout> |