Imported Upstream version 0.9.1
[platform/upstream/iotivity.git] / service / notification-manager / SampleApp / android / SampleResourceHosting / 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             <Button
15                 android:id="@+id/btnStartHosting"
16                 android:layout_width="match_parent"
17                 android:layout_height="wrap_content"
18                 android:text="startHosting"
19                 android:textSize="18sp" />    
20     </LinearLayout>
21     
22     <LinearLayout
23         android:layout_width="match_parent"
24         android:layout_height="wrap_content" >
25         
26             <Button
27                 android:id="@+id/btnStopHosting"
28                 android:layout_width="match_parent"
29                 android:layout_height="wrap_content"
30                 android:text="StopHosting"
31                 android:textSize="18sp" />    
32     </LinearLayout>
33
34         
35         <Space
36                 android:layout_width="match_parent"
37                 android:layout_height="10dp" />
38
39         <LinearLayout
40             android:layout_width="match_parent"
41             android:layout_height="5dp"
42             android:orientation="vertical"
43             android:background="#111111" >
44         </LinearLayout>
45
46         <Space
47             android:layout_width="match_parent"
48             android:layout_height="5dp" />
49       
50         <LinearLayout
51             android:layout_width="match_parent"
52             android:layout_height="wrap_content"
53             android:orientation="vertical"
54             android:paddingTop="0dp" >
55
56                 <Button
57                     android:id="@+id/btLogClear"
58                     android:layout_width="match_parent"
59                     android:layout_height="wrap_content"
60                     android:text="CLEAR LOG"
61                     android:textSize="18sp" />
62
63                 <ScrollView
64                     android:id="@+id/sclLog"
65                     android:layout_width="match_parent"
66                     android:layout_height="match_parent" >
67                         
68                         <TextView
69                             android:id="@+id/txtLog"
70                             android:layout_width="match_parent"
71                             android:layout_height="match_parent"
72                             android:layout_alignParentBottom="true"
73                             android:layout_alignParentLeft="true"
74                             android:textSize="15sp" />
75           
76                 </ScrollView>
77         
78         </LinearLayout>
79
80 </LinearLayout>