summaryrefslogtreecommitdiff
path: root/vdrmanager/res/layout/channel_list.xml
blob: 0a089d22756876349ea57b70d845f917382646e0 (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
37
38
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
	android:layout_width="fill_parent" android:layout_height="fill_parent"
	android:orientation="vertical">

	<LinearLayout android:layout_height="fill_parent"
		android:layout_width="fill_parent" android:id="@+id/main_content">
		<EditText android:id="@+id/search_box" android:layout_width="fill_parent"
			android:layout_height="wrap_content" android:hint="type to filter"
			android:inputType="text" android:maxLines="1" android:visibility="gone" />

		<ExpandableListView xmlns:android="http://schemas.android.com/apk/res/android"
			android:id="@+id/channel_list" android:layout_width="fill_parent"
			android:layout_height="fill_parent"
			android:layout_alignWithParentIfMissing="true"
			android:layout_alignParentTop="true" android:layout_centerHorizontal="true"
			android:cacheColorHint="?android:attr/colorBackground" />


	</LinearLayout>
	<LinearLayout android:orientation="vertical"
		android:id="@+id/no_connection_layout" android:layout_width="fill_parent"
		android:layout_height="fill_parent" android:visibility="gone">
		<LinearLayout android:layout_height="fill_parent"
			android:gravity="center" android:layout_width="fill_parent"
			android:orientation="horizontal">
			<TextView android:text="@string/no_connection"
				android:layout_height="wrap_content" android:layout_width="wrap_content"
				android:textSize="18dip" />
			<ImageView android:src="@drawable/sad"
				android:layout_height="wrap_content" android:layout_width="wrap_content" />
			<Button android:text="@string/no_connection_retry"
				android:textSize="18dip" android:layout_height="wrap_content"
				android:layout_width="wrap_content" android:id="@+id/retry_button" />

		</LinearLayout>
	</LinearLayout>

</LinearLayout>