aboutsummaryrefslogtreecommitdiff
path: root/res/layout/abstract_list_fragment.xml
blob: 3923f12005b77946492160521792d4e8d77e139f (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
36
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
	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" />

	<android.support.v4.widget.SwipeRefreshLayout
		android:id="@+id/refresh_layout"
		android:layout_width="fill_parent"
		android:layout_height="0dip"
		android:layout_weight="1.0">

		<ListView
			android:id="@+id/fragment_list"
			android:layout_width="fill_parent"
			android:layout_height="fill_parent"
			android:fastScrollEnabled="true"/>

	</android.support.v4.widget.SwipeRefreshLayout>
</LinearLayout>