| <?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"> |
| |
| <TextView |
| android:id="@+id/info_bar" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_alignParentTop="true" |
| android:gravity="center" |
| android:textSize="12sp" |
| android:text=""/> |
| |
| <View |
| android:id="@+id/divider" |
| android:layout_width="match_parent" |
| android:layout_height="1dp" |
| android:layout_below="@id/info_bar" |
| android:background="?android:attr/listDivider"/> |
| |
| <android.support.v7.widget.RecyclerView |
| android:id="@+id/recyclerView" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_below="@id/divider" |
| android:scrollbars="vertical"/> |
| |
| <TextView |
| android:id="@id/android:empty" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:layout_centerInParent="true" |
| android:gravity="center" |
| android:text="@string/no_items_label" /> |
| |
| <ProgressBar |
| android:id="@+id/progLoading" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_centerInParent="true" |
| android:indeterminateOnly="true" |
| android:visibility="gone" /> |
| |
| </RelativeLayout> |