diff options
author | git-vdr <herrlado@gmail.com> | 2011-10-04 01:56:35 +0200 |
---|---|---|
committer | git-vdr <herrlado@gmail.com> | 2011-10-04 01:56:35 +0200 |
commit | db8177ec1fa3683fdf9b1c459be57df21edd3fce (patch) | |
tree | 9fbafffad96f176b94d8a72a22fd9ef1e08dd9df /vdrmanager/res/layout/timer_list.xml | |
parent | a1069beee7a98787d679f831e595b2673c6099a2 (diff) | |
download | vdr-manager-db8177ec1fa3683fdf9b1c459be57df21edd3fce.tar.gz vdr-manager-db8177ec1fa3683fdf9b1c459be57df21edd3fce.tar.bz2 |
new icons, layout changes, etc
Diffstat (limited to 'vdrmanager/res/layout/timer_list.xml')
-rw-r--r-- | vdrmanager/res/layout/timer_list.xml | 40 |
1 files changed, 30 insertions, 10 deletions
diff --git a/vdrmanager/res/layout/timer_list.xml b/vdrmanager/res/layout/timer_list.xml index 13cff32..2416767 100644 --- a/vdrmanager/res/layout/timer_list.xml +++ b/vdrmanager/res/layout/timer_list.xml @@ -1,11 +1,31 @@ <?xml version="1.0" encoding="utf-8"?> -<ListView - xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/timer_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 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"> + <ListView xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/timer_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>
\ No newline at end of file |