Adding database information insertion features in the phone app
[iot2.git] / others / lede-gui / src / main / res / layout / activity_delete_device.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     xmlns:app="http://schemas.android.com/apk/res-auto"
4     xmlns:tools="http://schemas.android.com/tools"
5     android:layout_width="match_parent"
6     android:layout_height="match_parent"
7     tools:context="com.example.lede2.DeleteDeviceActivity"
8     android:background="@drawable/blueberry"
9     >
10
11     <LinearLayout
12         android:layout_width="match_parent"
13         android:layout_height="wrap_content"
14         android:orientation="vertical"
15         android:layout_alignParentTop="true"
16         android:layout_alignParentLeft="true"
17         android:layout_alignParentStart="true"
18         android:weightSum="1">
19
20         <LinearLayout
21             android:layout_width="match_parent"
22             android:layout_height="match_parent"
23             android:layout_margin="5dp"
24             android:orientation="vertical"
25             android:weightSum="1"
26             android:layout_weight="1.86">
27
28             <TextView
29                 android:id="@+id/delete_ip"
30                 android:layout_width="match_parent"
31                 android:layout_height="30dp"
32                 android:layout_marginTop="10dp"
33                 android:background="@drawable/orange"
34                 android:gravity="center"
35                 android:inputType="text"
36                 android:text="Device ID (e.g. CM1)"
37                 android:textColor="#000000"
38                 android:textIsSelectable="true"
39                 android:textSize="17sp"
40                 android:textStyle="bold" />
41
42             <EditText
43
44                 android:id="@+id/device_id"
45                 android:layout_width="match_parent"
46                 android:layout_height="40dp"
47                 android:background="@drawable/empty"
48                 android:gravity="center"
49                 android:inputType="text"
50                 android:textColor="@color/colorPrimaryDark"
51                 android:textIsSelectable="true"
52                 android:textSize="17sp"
53                 android:textStyle="bold" />
54
55             <TextView
56                 android:id="@+id/delete_user"
57                 android:layout_width="match_parent"
58                 android:layout_height="30dp"
59                 android:layout_marginTop="10dp"
60                 android:background="@drawable/orange"
61                 android:gravity="center"
62                 android:inputType="text"
63                 android:text="Device type (e.g. Camera)"
64                 android:textColor="#000000"
65                 android:textIsSelectable="true"
66                 android:textSize="17sp"
67                 android:textStyle="bold" />
68
69             <EditText
70
71                 android:id="@+id/device_type"
72                 android:layout_width="match_parent"
73                 android:layout_height="40dp"
74                 android:background="@drawable/empty"
75                 android:gravity="center"
76                 android:inputType="text"
77                 android:textColor="@color/colorPrimaryDark"
78                 android:textIsSelectable="true"
79                 android:textSize="17sp"
80                 android:textStyle="bold" />
81
82             <TextView
83                 android:id="@+id/delete_subtype"
84                 android:layout_width="match_parent"
85                 android:layout_height="30dp"
86                 android:layout_marginTop="10dp"
87                 android:background="@drawable/orange"
88                 android:gravity="center"
89                 android:inputType="text"
90                 android:text="Device subtype (e.g. AmcrestCamera)"
91                 android:textColor="#000000"
92                 android:textIsSelectable="true"
93                 android:textSize="17sp"
94                 android:textStyle="bold" />
95
96             <EditText
97
98                 android:id="@+id/device_subtype"
99                 android:layout_width="match_parent"
100                 android:layout_height="40dp"
101                 android:background="@drawable/empty"
102                 android:gravity="center"
103                 android:inputType="text"
104                 android:textColor="@color/colorPrimaryDark"
105                 android:textIsSelectable="true"
106                 android:textSize="17sp"
107                 android:textStyle="bold" />
108
109             <TextView
110                 android:id="@+id/delete_address_subtype"
111                 android:layout_width="match_parent"
112                 android:layout_height="30dp"
113                 android:layout_marginTop="10dp"
114                 android:background="@drawable/orange"
115                 android:gravity="center"
116                 android:inputType="text"
117                 android:text="Device subtype (e.g. AmcrestCameraAdd)"
118                 android:textColor="#000000"
119                 android:textIsSelectable="true"
120                 android:textSize="17sp"
121                 android:textStyle="bold" />
122
123             <EditText
124
125                 android:id="@+id/device_address_subtype"
126                 android:layout_width="match_parent"
127                 android:layout_height="40dp"
128                 android:background="@drawable/empty"
129                 android:gravity="center"
130                 android:inputType="text"
131                 android:textColor="@color/colorPrimaryDark"
132                 android:textIsSelectable="true"
133                 android:textSize="17sp"
134                 android:textStyle="bold" />
135
136             <TextView
137                 android:id="@+id/textStatus"
138                 android:layout_width="match_parent"
139                 android:layout_height="30dp"
140                 android:layout_marginTop="10dp"
141                 android:background="@drawable/orange"
142                 android:gravity="center"
143                 android:inputType="text"
144                 android:textColor="#000000"
145                 android:textIsSelectable="true"
146                 android:textSize="17sp"
147                 android:textStyle="bold" />
148
149             <Button
150                 android:id="@+id/delete"
151                 android:layout_width="145dp"
152                 android:layout_height="50dp"
153                 android:layout_gravity="center"
154                 android:layout_marginTop="50dp"
155                 android:background="@drawable/pinkback"
156                 android:text="delete"
157                 android:textColor="#FFA7A7"
158                 android:textSize="25dp"
159                 android:textStyle="bold" />
160
161             <Button
162                 android:id="@+id/done"
163                 android:layout_width="150dp"
164                 android:layout_height="50dp"
165                 android:layout_gravity="center"
166                 android:layout_marginTop="50dp"
167                 android:layout_weight="0.06"
168                 android:background="@drawable/pinkback"
169                 android:text="done"
170                 android:textColor="#FFA7A7"
171                 android:textSize="25dp"
172                 android:textStyle="bold" />
173
174
175         </LinearLayout>
176     </LinearLayout>
177
178
179 </RelativeLayout>