aboutsummaryrefslogtreecommitdiff
path: root/res/layout/abstract_list_fragment.xml
blob: be3889ee9cfccb9d4b2f14921d75fafa749165dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android"
	android:id="@+id/refresh_layout"
	android:layout_width="fill_parent"
	android:layout_height="fill_parent">

	<LinearLayout
		android:id="@+id/fragment_list_layout"
		android:layout_width="fill_parent"
		android:layout_height="fill_parent"
		android:orientation="vertical" >

		<View
			android:layout_width="fill_parent"
			android:layout_height="1px"
			android:background="@color/dividerColor"/>

		<include layout="@layout/tab_progress" />

		<TextView
			android:id="@+id/fragment_list_empty"
			android:layout_width="fill_parent"
			android:layout_height="wrap_content"
			android:padding="10dip"
			android:text="@string/common.empty"
			android:visibility="gone" />

		<ListView
			android:id="@+id/fragment_list"
			android:layout_width="fill_parent"
			android:layout_height="0dip"
			android:layout_weight="1.0"
			android:fastScrollEnabled="true"/>
	</LinearLayout>
</android.support.v4.widget.SwipeRefreshLayout>