blob: 2dca0b31fa16b1dc4415613d447255f3132c2f47 [file] [log] [blame]
Dirk Vogt5c7aed12015-10-22 00:28:03 +02001<?xml version="1.0" encoding="utf-8"?>
2<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 xmlns:tools="http://schemas.android.com/tools"
Dirk Vogt5c7aed12015-10-22 00:28:03 +02004 android:layout_width="match_parent"
Borjan Tchakaloff03ce2032016-10-27 21:37:41 +02005 android:layout_height="wrap_content"
6 android:background="?android:attr/selectableItemBackground"
7 android:paddingBottom="?android:attr/listPreferredItemPaddingEnd"
8 android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
9 android:paddingStart="?android:attr/listPreferredItemPaddingStart"
10 android:paddingTop="?android:attr/listPreferredItemPaddingStart"
Dirk Vogt5c7aed12015-10-22 00:28:03 +020011 tools:context=".ModuleChooser">
12
Dirk Vogt5c7aed12015-10-22 00:28:03 +020013 <ImageView
Borjan Tchakaloff03ce2032016-10-27 21:37:41 +020014 android:id="@+id/list_item_avatar"
15 android:layout_width="@dimen/module_picture_width_large"
16 android:layout_height="@dimen/module_picture_height_large"
Dirk Vogt5c7aed12015-10-22 00:28:03 +020017 android:layout_alignParentStart="true"
Dirk Vogt5c7aed12015-10-22 00:28:03 +020018 android:layout_alignParentTop="true"
Borjan Tchakaloff03ce2032016-10-27 21:37:41 +020019 android:layout_marginEnd="?android:attr/listPreferredItemPaddingEnd"
20 android:src="@drawable/display_module" />
Dirk Vogt5c7aed12015-10-22 00:28:03 +020021
22 <TextView
Borjan Tchakaloff03ce2032016-10-27 21:37:41 +020023 android:id="@+id/list_item_title"
24 android:layout_width="match_parent"
Dirk Vogt5c7aed12015-10-22 00:28:03 +020025 android:layout_height="wrap_content"
Borjan Tchakaloff03ce2032016-10-27 21:37:41 +020026 android:layout_alignParentTop="true"
27 android:layout_toEndOf="@+id/list_item_avatar"
Borjan Tchakaloff533e1ca2016-10-31 17:50:29 +010028 android:text="@string/generic_test_title"
Borjan Tchakaloff03ce2032016-10-27 21:37:41 +020029 android:textAppearance="?android:attr/textAppearanceMedium" />
30
31 <TextView
32 android:id="@+id/list_item_summary"
33 android:layout_width="match_parent"
34 android:layout_height="wrap_content"
35 android:layout_below="@+id/list_item_title"
36 android:layout_toEndOf="@+id/list_item_avatar"
Borjan Tchakaloff533e1ca2016-10-31 17:50:29 +010037 android:text="@string/generic_test_description"
Borjan Tchakaloff03ce2032016-10-27 21:37:41 +020038 android:textAppearance="?android:attr/textAppearanceSmall" />
Dirk Vogt5c7aed12015-10-22 00:28:03 +020039
Maarten Derks1dba3f62016-09-30 12:11:16 +020040</RelativeLayout>