Imported Upstream version 0.9.2
[platform/upstream/iotivity.git] / android / examples / guiclient / src / main / res / layout / resource_list_item_layout.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <RelativeLayout
3     xmlns:android="http://schemas.android.com/apk/res/android"
4     android:layout_width="match_parent"
5     android:layout_height="match_parent">
6
7     <ImageView android:id="@+id/resource_icon_id"
8         android:layout_width="50dp"
9         android:layout_height="50dp"
10         android:layout_marginLeft="20dp"/>
11
12     <TextView android:id="@+id/resource_name_id"
13         android:layout_width="wrap_content"
14         android:layout_height="wrap_content"
15         android:inputType="textNoSuggestions"
16         android:text="@string/resource_name_not_set"
17         android:textSize="16dp"
18         android:clickable="true"
19         android:cursorVisible="false"
20         android:focusable="false"
21         android:focusableInTouchMode="false"
22         android:layout_toRightOf="@+id/resource_icon_id"
23         />
24
25     <TextView android:id="@+id/resource_description_id"
26         android:layout_width="wrap_content"
27         android:layout_height="wrap_content"
28         android:paddingLeft="10dp"
29         android:inputType="textNoSuggestions"
30         android:text="@string/resource_description_not_set"
31         android:textSize="14dp"
32         android:clickable="false"
33         android:cursorVisible="false"
34         android:focusable="false"
35         android:focusableInTouchMode="false"
36         android:layout_below="@+id/resource_name_id"
37         android:layout_toRightOf="@+id/resource_icon_id"
38         />
39
40     <ImageView android:id="@+id/observing_icon_id"
41         android:layout_width="50dp"
42         android:layout_height="50dp"
43         android:layout_alignParentRight="true"
44         />
45
46 </RelativeLayout>