[IOT-1089] Change Android build system to accomodate both Android and Generic Java...
[contrib/iotivity.git] / java / examples-android / simpleclient / src / main / res / layout / activity_simple_client.xml
1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2     xmlns:tools="http://schemas.android.com/tools"
3     android:layout_width="match_parent"
4     android:layout_height="match_parent"
5     android:orientation="vertical"
6     android:paddingBottom="@dimen/activity_vertical_margin"
7     android:paddingLeft="@dimen/activity_horizontal_margin"
8     android:paddingRight="@dimen/activity_horizontal_margin"
9     android:paddingTop="@dimen/activity_vertical_margin"
10     tools:context=".SimpleClient">
11     <Button
12         android:layout_width="wrap_content"
13         android:layout_height="wrap_content"
14         android:id="@+id/button"
15         android:layout_centerHorizontal="true"
16         android:textOff="Start"
17         android:textOn="Stop"
18         android:layout_alignParentEnd="true"
19         android:layout_alignParentStart="true"
20         android:text="Start" />
21     <ScrollView
22         android:layout_below="@id/button"
23         android:layout_above="@+id/imageView"
24         android:layout_width="fill_parent"
25         android:layout_height="wrap_content"
26         android:fillViewport="true"
27         android:id="@+id/scrollView">
28         <TextView android:layout_width="wrap_content"
29             android:layout_height="wrap_content"
30             android:id="@+id/consoleTextView" />
31     </ScrollView>
32     <ImageView
33         android:layout_width="wrap_content"
34         android:layout_height="wrap_content"
35         android:id="@+id/imageView"
36         android:layout_alignParentBottom="true"
37         android:layout_alignParentEnd="true"
38         android:layout_alignParentStart="true"
39         android:src="@drawable/iotivitylogo" />
40 </RelativeLayout>