Imported Upstream version 0.9.2
[platform/upstream/iotivity.git] / service / soft-sensor-manager / SampleApp / android / SSMTesterApp / res / layout / activity_main.xml
1 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2     android:layout_width="fill_parent"
3     android:layout_height="fill_parent"
4     android:orientation="vertical"
5     android:paddingBottom="5dp"
6     android:paddingLeft="10dp"
7     android:paddingRight="10dp"
8     android:paddingTop="10dp" >
9
10     <LinearLayout
11         android:layout_width="match_parent"
12         android:layout_height="wrap_content" >
13
14         <EditText
15             android:id="@+id/editQuery"
16             android:layout_width="wrap_content"
17             android:layout_height="110dp"
18             android:layout_weight="0.92"
19             android:ems="9"
20             android:inputType="textMultiLine"
21             android:text=""
22             android:textSize="15sp" />
23
24         <LinearLayout
25             android:layout_width="wrap_content"
26             android:layout_height="match_parent"
27             android:layout_weight="0.92"
28             android:orientation="vertical" >
29
30             <Button
31                 android:id="@+id/btnRegisterQuery"
32                 android:layout_width="match_parent"
33                 android:layout_height="wrap_content"
34                 android:text="Register"
35                 android:textSize="18sp" />
36
37             <Button
38                 android:id="@+id/btClear"
39                 style="?android:attr/buttonStyleSmall"
40                 android:layout_width="match_parent"
41                 android:layout_height="wrap_content"
42                 android:text="CLEAR"
43                 android:textSize="18sp" />
44                     
45         </LinearLayout>
46
47     </LinearLayout>
48
49         <LinearLayout
50                 android:layout_width="match_parent"
51                 android:layout_height="wrap_content"
52                 android:orientation="vertical"
53                 android:paddingTop="10dp" >
54
55                 <TextView
56                     android:id="@+id/textView"
57                     android:layout_width="wrap_content"
58                     android:layout_height="wrap_content"
59                     android:text="Example Queries"
60                     android:textSize="15sp"
61                     android:textStyle="bold" />
62           
63                 <LinearLayout
64                         android:layout_width="match_parent"
65                         android:layout_height="wrap_content" >
66
67                 <Button
68                     android:id="@+id/btFullDevice"
69                     style="?android:attr/buttonStyleSmall"
70                     android:layout_width="wrap_content"
71                     android:layout_height="wrap_content"
72                     android:text="Search Devices"
73                     android:textSize="17sp" />
74         
75                  <Button
76                      android:id="@+id/btDiscomfortIndex"
77                      style="?android:attr/buttonStyleSmall"
78                      android:layout_width="wrap_content"
79                      android:layout_height="wrap_content"
80                      android:text="DiscomfortIndex"
81                      android:textSize="17sp" />
82
83                 </LinearLayout>
84                 
85         </LinearLayout>
86
87         <LinearLayout
88                 android:layout_width="match_parent"
89                 android:layout_height="wrap_content"
90                 android:orientation="vertical"
91                 android:paddingTop="10dp" >
92
93                 <TextView
94                     android:id="@+id/textView2"
95                     android:layout_width="wrap_content"
96                     android:layout_height="wrap_content"
97                     android:text="Unregister Query"
98                     android:textSize="15sp"
99                     android:textStyle="bold" />
100                 
101                 <LinearLayout
102                     android:layout_width="match_parent"
103                     android:layout_height="wrap_content" >
104                 
105                     <Button
106                         android:id="@+id/btMinus"
107                         style="?android:attr/buttonStyleSmall"
108                         android:layout_width="wrap_content"
109                         android:layout_height="wrap_content"
110                         android:text=" - "
111                         android:textSize="18sp" />
112                 
113                     <EditText
114                         android:id="@+id/editUnregisterQuery"
115                         android:layout_width="90dp"
116                         android:layout_height="wrap_content"
117                         android:text="0"
118                         android:textSize="18sp" />
119                                 
120                     <Button
121                         android:id="@+id/btPlus"
122                         style="?android:attr/buttonStyleSmall"
123                         android:layout_width="wrap_content"
124                         android:layout_height="wrap_content"
125                         android:text=" + "
126                         android:textSize="18sp" />
127                 
128                     <Button
129                         android:id="@+id/btnUnregisterQuery"
130                         android:layout_width="wrap_content"
131                         android:layout_height="wrap_content"
132                         android:text="UnRegister"
133                         android:textSize="18sp" />
134                 
135                 </LinearLayout>
136
137         </LinearLayout>
138
139         <Space
140                 android:layout_width="match_parent"
141                 android:layout_height="10dp" />
142
143         <LinearLayout
144             android:layout_width="match_parent"
145             android:layout_height="5dp"
146             android:orientation="vertical"
147             android:background="#111111" >
148         </LinearLayout>
149
150         <Space
151             android:layout_width="match_parent"
152             android:layout_height="5dp" />
153       
154         <LinearLayout
155             android:layout_width="match_parent"
156             android:layout_height="wrap_content"
157             android:orientation="vertical"
158             android:paddingTop="0dp" >
159
160                 <Button
161                     android:id="@+id/btLogClear"
162                     android:layout_width="match_parent"
163                     android:layout_height="wrap_content"
164                     android:text="CLEAR LOG"
165                     android:textSize="18sp" />
166
167                 <ScrollView
168                     android:id="@+id/sclLog"
169                     android:layout_width="match_parent"
170                     android:layout_height="match_parent" >
171                         
172                         <TextView
173                             android:id="@+id/txtLog"
174                             android:layout_width="match_parent"
175                             android:layout_height="match_parent"
176                             android:layout_alignParentBottom="true"
177                             android:layout_alignParentLeft="true"
178                             android:textSize="15sp" />
179           
180                 </ScrollView>
181         
182         </LinearLayout>
183
184 </LinearLayout>