| <?xml version="1.0" encoding="utf-8"?> |
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent"> |
| |
| <RelativeLayout |
| android:id="@+id/header" |
| android:layout_width="match_parent" |
| android:layout_height="@dimen/module_picture_height_large" |
| android:layout_alignParentStart="true" |
| android:layout_alignParentTop="true" |
| android:layout_marginBottom="?android:attr/listPreferredItemPaddingEnd" |
| android:layout_marginEnd="?android:attr/listPreferredItemPaddingEnd" |
| android:layout_marginStart="?android:attr/listPreferredItemPaddingStart" |
| android:layout_marginTop="?android:attr/listPreferredItemPaddingStart" |
| android:elevation="8dp"> |
| |
| <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_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_centerVertical="true" |
| android:layout_toEndOf="@+id/list_item_avatar" |
| android:text="@string/large_text" |
| android:textAppearance="?android:attr/textAppearanceLarge" /> |
| |
| <TextView |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_above="@id/list_item_title" |
| android:layout_toEndOf="@+id/list_item_avatar" |
| android:text="@string/tests_for" |
| android:textAppearance="?android:attr/textAppearanceSmall" /> |
| </RelativeLayout> |
| |
| <ListView |
| android:id="@+id/list_view" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:layout_below="@+id/header" /> |
| </RelativeLayout> |