briar_recycler_view.xml 1.03 KB
Newer Older
1 2
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
3 4 5 6
	xmlns:android="http://schemas.android.com/apk/res/android"
	xmlns:tools="http://schemas.android.com/tools"
	android:layout_width="match_parent"
	android:layout_height="match_parent">
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26

	<android.support.v7.widget.RecyclerView
		android:id="@+id/recyclerView"
		android:layout_width="match_parent"
		android:layout_height="match_parent"
		android:scrollbars="vertical"
		tools:listitem="@layout/list_item_contact"/>

	<ProgressBar
		android:id="@+id/progressBar"
		style="?android:attr/progressBarStyleLarge"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_centerInParent="true"/>

	<TextView
		android:id="@+id/emptyView"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_centerInParent="true"
Torsten Grote's avatar
Torsten Grote committed
27
		android:gravity="center"
Torsten Grote's avatar
Torsten Grote committed
28
		android:padding="@dimen/margin_activity_horizontal"
Torsten Grote's avatar
Torsten Grote committed
29
		android:text="@string/no_data"
30
		android:textSize="@dimen/text_size_large"
Torsten Grote's avatar
Torsten Grote committed
31
		tools:text="@string/no_contacts"/>
32 33

</RelativeLayout>