Imported Upstream version 0.9.1
[platform/upstream/iotivity.git] / service / things-manager / sampleapp / android / Sample / res / layout / custom_dialog.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     android:layout_width="match_parent"
4     android:layout_height="match_parent"
5     android:orientation="vertical" >
6     
7     
8     <DatePicker
9          android:id="@+id/datePicker1"
10          android:layout_width="wrap_content"
11          android:layout_height="wrap_content" >
12     </DatePicker>
13
14     <TimePicker
15         android:id="@+id/timePicker1"
16         android:layout_width="wrap_content"
17         android:layout_height="wrap_content"
18         android:layout_alignParentLeft="true"
19         android:layout_below="@+id/datePicker1"
20         android:layout_marginTop="63dp" />
21
22     <Button
23         android:id="@+id/ok"
24         android:layout_width="200px"
25         android:layout_height="wrap_content"
26         android:layout_alignParentLeft="true"
27         android:layout_below="@+id/timePicker1"
28         android:layout_marginLeft="16dp"
29         android:layout_marginTop="53dp"
30         android:text="OK" />
31
32     <Button
33         android:id="@+id/cancel"
34         android:layout_width="200px"
35         android:layout_height="wrap_content"
36         android:layout_alignBaseline="@+id/ok"
37         android:layout_alignBottom="@+id/ok"
38         android:layout_alignParentRight="true"
39         android:layout_marginRight="34dp"
40         android:text="Cancel" />
41
42 </RelativeLayout>