blob: 2dca0b31fa16b1dc4415613d447255f3132c2f47 [file] [log] [blame]
<?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:background="?android:attr/selectableItemBackground"
android:paddingBottom="?android:attr/listPreferredItemPaddingEnd"
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
android:paddingStart="?android:attr/listPreferredItemPaddingStart"
android:paddingTop="?android:attr/listPreferredItemPaddingStart"
tools:context=".ModuleChooser">
<ImageView
android:id="@+id/list_item_avatar"
android:layout_width="@dimen/module_picture_width_large"
android:layout_height="@dimen/module_picture_height_large"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_marginEnd="?android:attr/listPreferredItemPaddingEnd"
android:src="@drawable/display_module" />
<TextView
android:id="@+id/list_item_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_toEndOf="@+id/list_item_avatar"
android:text="@string/generic_test_title"
android:textAppearance="?android:attr/textAppearanceMedium" />
<TextView
android:id="@+id/list_item_summary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/list_item_title"
android:layout_toEndOf="@+id/list_item_avatar"
android:text="@string/generic_test_description"
android:textAppearance="?android:attr/textAppearanceSmall" />
</RelativeLayout>