Dirk Vogt | 5c7aed1 | 2015-10-22 00:28:03 +0200 | [diff] [blame] | 1 | <?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 Vogt | 5c7aed1 | 2015-10-22 00:28:03 +0200 | [diff] [blame] | 4 | android:layout_width="match_parent" |
Borjan Tchakaloff | 03ce203 | 2016-10-27 21:37:41 +0200 | [diff] [blame] | 5 | 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 Vogt | 5c7aed1 | 2015-10-22 00:28:03 +0200 | [diff] [blame] | 11 | tools:context=".ModuleChooser"> |
| 12 | |
Dirk Vogt | 5c7aed1 | 2015-10-22 00:28:03 +0200 | [diff] [blame] | 13 | <ImageView |
Borjan Tchakaloff | 03ce203 | 2016-10-27 21:37:41 +0200 | [diff] [blame] | 14 | 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 Vogt | 5c7aed1 | 2015-10-22 00:28:03 +0200 | [diff] [blame] | 17 | android:layout_alignParentStart="true" |
Dirk Vogt | 5c7aed1 | 2015-10-22 00:28:03 +0200 | [diff] [blame] | 18 | android:layout_alignParentTop="true" |
Borjan Tchakaloff | 03ce203 | 2016-10-27 21:37:41 +0200 | [diff] [blame] | 19 | android:layout_marginEnd="?android:attr/listPreferredItemPaddingEnd" |
| 20 | android:src="@drawable/display_module" /> |
Dirk Vogt | 5c7aed1 | 2015-10-22 00:28:03 +0200 | [diff] [blame] | 21 | |
| 22 | <TextView |
Borjan Tchakaloff | 03ce203 | 2016-10-27 21:37:41 +0200 | [diff] [blame] | 23 | android:id="@+id/list_item_title" |
| 24 | android:layout_width="match_parent" |
Dirk Vogt | 5c7aed1 | 2015-10-22 00:28:03 +0200 | [diff] [blame] | 25 | android:layout_height="wrap_content" |
Borjan Tchakaloff | 03ce203 | 2016-10-27 21:37:41 +0200 | [diff] [blame] | 26 | android:layout_alignParentTop="true" |
| 27 | android:layout_toEndOf="@+id/list_item_avatar" |
Borjan Tchakaloff | 533e1ca | 2016-10-31 17:50:29 +0100 | [diff] [blame] | 28 | android:text="@string/generic_test_title" |
Borjan Tchakaloff | 03ce203 | 2016-10-27 21:37:41 +0200 | [diff] [blame] | 29 | 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 Tchakaloff | 533e1ca | 2016-10-31 17:50:29 +0100 | [diff] [blame] | 37 | android:text="@string/generic_test_description" |
Borjan Tchakaloff | 03ce203 | 2016-10-27 21:37:41 +0200 | [diff] [blame] | 38 | android:textAppearance="?android:attr/textAppearanceSmall" /> |
Dirk Vogt | 5c7aed1 | 2015-10-22 00:28:03 +0200 | [diff] [blame] | 39 | |
Maarten Derks | 1dba3f6 | 2016-09-30 12:11:16 +0200 | [diff] [blame] | 40 | </RelativeLayout> |