summaryrefslogtreecommitdiff
path: root/vdrmanager/res/layout/vdr_list_add_delete.xml
diff options
context:
space:
mode:
Diffstat (limited to 'vdrmanager/res/layout/vdr_list_add_delete.xml')
-rw-r--r--vdrmanager/res/layout/vdr_list_add_delete.xml34
1 files changed, 34 insertions, 0 deletions
diff --git a/vdrmanager/res/layout/vdr_list_add_delete.xml b/vdrmanager/res/layout/vdr_list_add_delete.xml
new file mode 100644
index 0000000..7fcc2be
--- /dev/null
+++ b/vdrmanager/res/layout/vdr_list_add_delete.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res/de.ub0r.android.callmeter"
+ android:layout_height="fill_parent" android:layout_width="fill_parent">
+
+ <LinearLayout android:id="@+id/item_add" android:padding="4dip"
+ android:layout_alignParentBottom="true" android:layout_width="fill_parent"
+ android:layout_height="wrap_content" android:orientation="horizontal"
+ android:gravity="right|center_vertical"
+ style="@android:style/ButtonBar"
+ >
+ <TextView android:layout_width="wrap_content" android:text="@string/new_vdr"
+ android:layout_height="wrap_content"
+ android:layout_marginRight="4dip"
+ android:textAppearance="?android:textAppearanceMedium"
+ />
+ <ImageButton android:id="@+id/add_item" android:layout_width="wrap_content"
+ android:layout_height="wrap_content" style="@style/PlusButton" />
+ </LinearLayout>
+ <RelativeLayout android:layout_width="fill_parent"
+ android:layout_height="fill_parent" android:layout_above="@id/item_add">
+ <ListView android:id="@id/android:list" android:layout_width="fill_parent"
+ android:layout_height="fill_parent" android:drawSelectorOnTop="false"
+ android:scrollingCache="true" android:fastScrollEnabled="true"
+ android:choiceMode="singleChoice" />
+
+ <TextView android:id="@android:id/empty" android:layout_width="fill_parent"
+ android:gravity="center"
+ android:padding="20dip"
+ android:textAppearance="?android:textAppearanceMedium"
+ android:layout_height="wrap_content" android:text="@string/no_vdr" />
+ </RelativeLayout>
+
+</RelativeLayout> \ No newline at end of file