The final version for lede-gui (the phone app for device registration)
[iot2.git] / others / lede-gui / src / main / res / layout / activity_list.xml
1 <?xml version="1.0" encoding="utf-8"?>\r
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"\r
3     xmlns:app="http://schemas.android.com/apk/res-auto"\r
4     xmlns:tools="http://schemas.android.com/tools"\r
5     android:layout_width="match_parent"\r
6     android:layout_height="match_parent"\r
7     android:orientation="vertical"\r
8     tools:context="com.example.lede2.ListActivity">\r
9 \r
10     <ListView\r
11         android:id="@+id/listView1"\r
12         android:layout_width="match_parent"\r
13         android:layout_height="360dp"\r
14         android:layout_weight="0.18"\r
15         android:background="@drawable/bluename"\r
16         android:choiceMode="multipleChoice"\r
17         />\r
18 \r
19     <Spinner\r
20         android:id="@+id/selectedName"\r
21         android:layout_width="match_parent"\r
22         android:layout_height="wrap_content"\r
23         android:layout_weight="0.18" />\r
24 \r
25     <TextView\r
26 \r
27         android:id="@+id/txt_ip"\r
28         android:layout_width="match_parent"\r
29         android:layout_height="33dp"\r
30         android:layout_weight="0.00"\r
31         android:background="@drawable/empty"\r
32         android:focusable="false"\r
33         android:gravity="center"\r
34         android:inputType="text"\r
35         android:text="ip"\r
36         android:textColor="@color/colorPrimaryDark"\r
37         android:textIsSelectable="true"\r
38         android:textSize="17sp"\r
39         android:textStyle="bold" />\r
40 \r
41     <TextView\r
42 \r
43         android:id="@+id/txt_mac"\r
44         android:layout_width="match_parent"\r
45         android:layout_height="33dp"\r
46         android:background="@drawable/empty"\r
47         android:gravity="center"\r
48         android:inputType="text"\r
49         android:text="mac"\r
50         android:textColor="@color/colorPrimaryDark"\r
51         android:textIsSelectable="true"\r
52         android:textSize="17sp"\r
53         android:textStyle="bold"\r
54         android:focusable="false"/>\r
55 \r
56     <LinearLayout\r
57                 android:layout_width="match_parent"\r
58                 android:layout_height="wrap_content"\r
59                 android:orientation="horizontal">\r
60 \r
61 \r
62         <Button\r
63             android:id="@+id/list_back"\r
64             android:layout_width="wrap_content"\r
65             android:layout_height="wrap_content"\r
66             android:layout_weight="1"\r
67             android:text="Back" />\r
68 \r
69         <Button\r
70             android:id="@+id/delete"\r
71             android:layout_width="wrap_content"\r
72             android:layout_height="wrap_content"\r
73             android:layout_weight="1"\r
74             android:text="Delete" />\r
75             </LinearLayout>\r
76 </LinearLayout>\r