50 lines
1.7 KiB
XML
50 lines
1.7 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:minHeight="?listPreferredItemHeight"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:background="?selectableItemBackground"
|
|
android:clickable="true"
|
|
android:focusable="true">
|
|
|
|
<ImageView
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:layout_marginLeft="16dp"
|
|
android:layout_marginRight="16dp"
|
|
android:id="@+id/key_list_item_icon"
|
|
tools:tint="@color/md_grey_600"
|
|
tools:src="@drawable/apps_k9"
|
|
/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/key_list_item_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:maxLines="1"
|
|
android:ellipsize="end"
|
|
tools:text="Use key: look@my.amazin.horse"
|
|
/>
|
|
|
|
<TextView
|
|
android:id="@+id/key_list_item_creation"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:maxLines="1"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
tools:visibility="visible"
|
|
tools:text="Created on 10/10/2010 10:00" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|