| 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" |
| 4 |
android:layout_width="match_parent" |
| 5 |
android:layout_height="match_parent" > |
| 6 |
|
| 7 |
<FrameLayout |
| 8 |
android:id="@+id/listHeader" |
| 9 |
android:layout_width="fill_parent" |
| 10 |
android:layout_height="wrap_content" > |
| 11 |
<include layout="@layout/listview_room_header" /> |
| 12 |
</FrameLayout> |
| 13 |
|
| 14 |
<ListView |
| 15 |
android:id="@id/android:list" |
| 16 |
android:layout_width="fill_parent" |
| 17 |
android:layout_height="0dp" |
| 18 |
android:layout_alignParentBottom="true" |
| 19 |
android:layout_below="@+id/listHeader" |
| 20 |
android:cacheColorHint="@android:color/transparent" |
| 21 |
android:drawSelectorOnTop="false" |
| 22 |
tools:listitem="@layout/listview_room" /> |
| 23 |
|
| 24 |
<TextView |
| 25 |
android:id="@id/android:empty" |
| 26 |
android:layout_width="wrap_content" |
| 27 |
android:layout_height="wrap_content" |
| 28 |
android:layout_centerHorizontal="true" |
| 29 |
android:layout_centerVertical="true" |
| 30 |
android:text="@string/no_rooms_in_list" /> |
| 31 |
|
| 32 |
</RelativeLayout> |