summaryrefslogtreecommitdiff
path: root/vdrmanager/res/layout/channel_list.xml
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2013-08-10 11:42:39 +0400
committerlado <herrlado@gmail.com>2013-08-10 12:06:31 +0400
commitb8c9e3c30511bb497b31d197d15cf49519854661 (patch)
treefb308a6735d8a952c0d6e3fa327f8ff17c191e0a /vdrmanager/res/layout/channel_list.xml
parentc4ba2bc1e9e9e074d741915018eb8dac06d92822 (diff)
downloadvdr-manager-b8c9e3c30511bb497b31d197d15cf49519854661.tar.gz
vdr-manager-b8c9e3c30511bb497b31d197d15cf49519854661.tar.bz2
lint issues
Diffstat (limited to 'vdrmanager/res/layout/channel_list.xml')
-rw-r--r--vdrmanager/res/layout/channel_list.xml109
1 files changed, 70 insertions, 39 deletions
diff --git a/vdrmanager/res/layout/channel_list.xml b/vdrmanager/res/layout/channel_list.xml
index e73eea6..3ff4c1e 100644
--- a/vdrmanager/res/layout/channel_list.xml
+++ b/vdrmanager/res/layout/channel_list.xml
@@ -1,39 +1,70 @@
-<ViewFlipper xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/flipper"
- 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" />
-
- <TextView android:id="@android:id/empty" android:layout_width="wrap_content"
- android:layout_height="wrap_content" android:text="Empty set" />
-
- </LinearLayout>
- <LinearLayout android:orientation="vertical"
- android:id="@+id/no_connection_layout" android:layout_width="fill_parent"
- android:layout_height="fill_parent">
- <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>
-</ViewFlipper>
+<ViewFlipper xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/flipper"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical" >
+
+ <LinearLayout
+ android:id="@+id/main_content"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical" >
+
+ <EditText
+ android:id="@+id/search_box"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:hint="@string/type_to_filter"
+ android:inputType="text"
+ android:maxLines="1"
+ android:visibility="gone" />
+
+ <ExpandableListView
+ android:id="@+id/channel_list"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_alignParentTop="true"
+ android:layout_alignWithParentIfMissing="true"
+ android:layout_centerHorizontal="true"
+ android:cacheColorHint="?android:attr/colorBackground" />
+
+ <TextView
+ android:id="@android:id/empty"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Empty set" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/no_connection_layout"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical" >
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:gravity="center"
+ android:orientation="horizontal" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/no_connection"
+ android:textSize="18dip" />
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/sad" />
+
+ <Button
+ android:id="@+id/retry_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/no_connection_retry"
+ android:textSize="18dip" />
+ </LinearLayout>
+ </LinearLayout>
+
+</ViewFlipper> \ No newline at end of file