50b5f08821f71ae254721597e1b85eea617e7183
[platform/upstream/iotivity.git] / service / resource-encapsulation / examples / android / REClient / res / layout / userinputforattributevalue.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       <EditText
8           android:id="@+id/attributeValue"
9           android:layout_width="wrap_content"
10           android:layout_height="wrap_content"
11           android:layout_alignParentTop="true"
12           android:layout_centerHorizontal="true"
13           android:layout_marginTop="28dp"
14           android:ems="10"
15           android:hint="Enter the Temperature" />
16
17       <Button
18           android:id="@+id/ok"
19           android:layout_width="150dp"
20           android:layout_height="wrap_content"
21           android:layout_alignParentLeft="true"
22           android:layout_below="@+id/region"
23           android:layout_marginTop="101dp"
24           android:text="OK" />
25
26        <Button
27            android:id="@+id/cancel"
28            android:layout_width="150dp"
29            android:layout_height="wrap_content"
30            android:layout_alignBaseline="@+id/ok"
31            android:layout_alignBottom="@+id/ok"
32            android:layout_alignParentRight="true"
33            android:text="Cancel" />
34
35 </RelativeLayout>