summaryrefslogtreecommitdiff
path: root/vdrmanager/res/layout/vdr_list_add_delete.xml
blob: 7fcc2be62921e2903a1ab48221b908b11ba7c21d (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
<?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>