added code to close the netlink socket.
[contrib/iotivity.git] / java / examples-android / groupclient / src / main / res / layout / activity_group_client.xml
1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2     xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
3     android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
4     android:orientation="vertical"
5     android:paddingRight="@dimen/activity_horizontal_margin"
6     android:paddingTop="@dimen/activity_vertical_margin"
7     android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".GroupClient">
8     <ToggleButton
9         android:layout_width="wrap_content"
10         android:layout_height="wrap_content"
11         android:id="@+id/toggleButton"
12         android:layout_centerHorizontal="true"
13         android:textOff="Start"
14         android:textOn="Stop"
15         android:layout_alignParentEnd="true"
16         android:layout_alignParentStart="true" />
17     <ScrollView
18         android:layout_below="@id/toggleButton"
19         android:layout_above="@+id/imageView"
20         android:layout_width="fill_parent"
21         android:layout_height="wrap_content"
22         android:fillViewport="true"
23         android:id="@+id/scrollView">
24         <TextView android:layout_width="wrap_content"
25             android:layout_height="wrap_content"
26             android:id="@+id/consoleTextView" />
27     </ScrollView>
28     <ImageView
29         android:layout_width="wrap_content"
30         android:layout_height="wrap_content"
31         android:id="@+id/imageView"
32         android:layout_alignParentBottom="true"
33         android:layout_alignParentEnd="true"
34         android:layout_alignParentStart="true"
35         android:src="@drawable/iotivitylogo" />
36 </RelativeLayout>