Debian Codegraph @

apps/DeviceConfig/app/src/main/res/layout/main.xml

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 android:layout_width="fill_parent"
4 android:layout_height="fill_parent" >
5
6 <LinearLayout
7 android:id="@+id/buttonHolder"
8 android:layout_width="fill_parent"
9 android:layout_height="wrap_content"
10 android:layout_alignParentBottom="true" >
11
12 <Button
13 android:id="@+id/generateConfigButton"
14 android:layout_width="0dip"
15 android:layout_height="wrap_content"
16 android:layout_weight="1"
17 android:text="@string/generate_config" />
18 </LinearLayout>
19
20 <ScrollView
21 android:layout_width="fill_parent"
22 android:layout_height="fill_parent"
23 android:layout_above="@id/buttonHolder" >
24
25 <TableLayout
26 android:layout_width="fill_parent"
27 android:layout_height="wrap_content"
28 android:padding="5dip" >
29
30 <TableRow
31 android:layout_width="fill_parent"
32 android:layout_height="wrap_content"
33 android:background="#333" >
34
35 <TextView
36 android:layout_width="wrap_content"
37 android:layout_height="wrap_content"
38 android:background="#333"
39 android:text="Type" >
40 </TextView>
41
42 <TextView
43 android:layout_width="wrap_content"
44 android:layout_height="wrap_content"
45 android:background="#333"
46 android:text="Resource" >
47 </TextView>
48
49 <TextView
50 android:layout_width="wrap_content"
51 android:layout_height="wrap_content"
52 android:text="API" >
53 </TextView>
54 </TableRow>
55
56 <TableRow
57 android:layout_width="fill_parent"
58 android:layout_height="wrap_content" >
59
60 <TextView
61 android:layout_width="wrap_content"
62 android:layout_height="wrap_content"
63 android:text="Screen Size" >
64 </TextView>
65
66 <TextView
67 android:layout_width="wrap_content"
68 android:layout_height="wrap_content"
69 android:text="@string/screen_size" >
70 </TextView>
71 </TableRow>
72
73 <TableRow
74 android:layout_width="fill_parent"
75 android:layout_height="wrap_content" >
76
77 <TextView
78 android:layout_width="wrap_content"
79 android:layout_height="wrap_content"
80 android:text="Screen Ratio" >
81 </TextView>
82
83 <TextView
84 android:layout_width="wrap_content"
85 android:layout_height="wrap_content"
86 android:text="@string/screen_long" >
87 </TextView>
88 </TableRow>
89
90 <TableRow
91 android:layout_width="fill_parent"
92 android:layout_height="wrap_content" >
93
94 <TextView
95 android:layout_width="wrap_content"
96 android:layout_height="wrap_content"
97 android:text="Screen Orientation" >
98 </TextView>
99
100 <TextView
101 android:layout_width="wrap_content"
102 android:layout_height="wrap_content"
103 android:text="@string/orientation" >
104 </TextView>
105 </TableRow>
106
107 <TableRow
108 android:layout_width="fill_parent"
109 android:layout_height="wrap_content" >
110
111 <TextView
112 android:layout_width="wrap_content"
113 android:layout_height="wrap_content"
114 android:text="Dock" >
115 </TextView>
116
117 <TextView
118 android:layout_width="wrap_content"
119 android:layout_height="wrap_content"
120 android:text="@string/dock" >
121 </TextView>
122 </TableRow>
123
124 <TableRow
125 android:layout_width="fill_parent"
126 android:layout_height="wrap_content" >
127
128 <TextView
129 android:layout_width="wrap_content"
130 android:layout_height="wrap_content"
131 android:text="Night" >
132 </TextView>
133
134 <TextView
135 android:layout_width="wrap_content"
136 android:layout_height="wrap_content"
137 android:text="@string/night" >
138 </TextView>
139 </TableRow>
140
141 <TableRow
142 android:layout_width="fill_parent"
143 android:layout_height="wrap_content" >
144
145 <TextView
146 android:layout_width="wrap_content"
147 android:layout_height="wrap_content"
148 android:text="Density" >
149 </TextView>
150
151 <TextView
152 android:layout_width="wrap_content"
153 android:layout_height="wrap_content"
154 android:text="@string/density" >
155 </TextView>
156 </TableRow>
157
158 <TableRow
159 android:layout_width="fill_parent"
160 android:layout_height="wrap_content" >
161
162 <TextView
163 android:layout_width="wrap_content"
164 android:layout_height="wrap_content"
165 android:text="Touch Type" >
166 </TextView>
167
168 <TextView
169 android:layout_width="wrap_content"
170 android:layout_height="wrap_content"
171 android:text="@string/touch" >
172 </TextView>
173 </TableRow>
174
175 <TableRow
176 android:layout_width="fill_parent"
177 android:layout_height="wrap_content" >
178
179 <TextView
180 android:layout_width="wrap_content"
181 android:layout_height="wrap_content"
182 android:text="Keyboard State" >
183 </TextView>
184
185 <TextView
186 android:layout_width="wrap_content"
187 android:layout_height="wrap_content"
188 android:text="@string/keyboard_state" >
189 </TextView>
190
191 <TextView
192 android:id="@+id/keyboard_state_api"
193 android:layout_width="wrap_content"
194 android:layout_height="wrap_content"
195 android:text="API" >
196 </TextView>
197 </TableRow>
198
199 <TableRow
200 android:layout_width="fill_parent"
201 android:layout_height="wrap_content" >
202
203 <TextView
204 android:layout_width="wrap_content"
205 android:layout_height="wrap_content"
206 android:text="Text Input" >
207 </TextView>
208
209 <TextView
210 android:layout_width="wrap_content"
211 android:layout_height="wrap_content"
212 android:text="@string/text_input" >
213 </TextView>
214 </TableRow>
215
216 <TableRow
217 android:layout_width="fill_parent"
218 android:layout_height="wrap_content" >
219
220 <TextView
221 android:layout_width="wrap_content"
222 android:layout_height="wrap_content"
223 android:text="Nav State" >
224 </TextView>
225
226 <TextView
227 android:layout_width="wrap_content"
228 android:layout_height="wrap_content"
229 android:text="@string/nav_state" >
230 </TextView>
231
232 <TextView
233 android:id="@+id/nav_state_api"
234 android:layout_width="wrap_content"
235 android:layout_height="wrap_content"
236 android:text="API" >
237 </TextView>
238 </TableRow>
239
240 <TableRow
241 android:layout_width="fill_parent"
242 android:layout_height="wrap_content" >
243
244 <TextView
245 android:layout_width="wrap_content"
246 android:layout_height="wrap_content"
247 android:text="Navigation" >
248 </TextView>
249
250 <TextView
251 android:layout_width="wrap_content"
252 android:layout_height="wrap_content"
253 android:text="@string/navigation" >
254 </TextView>
255 </TableRow>
256
257 <TableRow
258 android:layout_width="fill_parent"
259 android:layout_height="wrap_content" >
260
261 <TextView
262 android:layout_width="wrap_content"
263 android:layout_height="wrap_content"
264 android:text="Screen Size" >
265 </TextView>
266
267 <TextView
268 android:layout_width="wrap_content"
269 android:layout_height="wrap_content">
270 </TextView>
271
272 <TextView
273 android:id="@+id/size_api"
274 android:layout_width="wrap_content"
275 android:layout_height="wrap_content"
276 android:text="API" >
277 </TextView>
278 </TableRow>
279
280 <TableRow
281 android:layout_width="fill_parent"
282 android:layout_height="wrap_content" >
283
284 <TextView
285 android:layout_width="wrap_content"
286 android:layout_height="wrap_content"
287 android:text="Version" >
288 </TextView>
289
290 <TextView
291 android:layout_width="wrap_content"
292 android:layout_height="wrap_content"
293 android:text="@string/version" >
294 </TextView>
295 </TableRow>
296
297 <TableRow
298 android:layout_width="fill_parent"
299 android:layout_height="wrap_content" >
300
301 <TextView
302 android:layout_width="wrap_content"
303 android:layout_height="wrap_content"
304 android:text="xdpi" >
305 </TextView>
306
307 <TextView
308 android:layout_width="wrap_content"
309 android:layout_height="wrap_content"
310 android:text="N/A" >
311 </TextView>
312
313 <TextView
314 android:id="@+id/xdpi"
315 android:layout_width="wrap_content"
316 android:layout_height="wrap_content"
317 android:text="xdpi" >
318 </TextView>
319 </TableRow>
320
321 <TableRow
322 android:layout_width="fill_parent"
323 android:layout_height="wrap_content" >
324
325 <TextView
326 android:layout_width="wrap_content"
327 android:layout_height="wrap_content"
328 android:text="ydpi" >
329 </TextView>
330
331 <TextView
332 android:layout_width="wrap_content"
333 android:layout_height="wrap_content"
334 android:text="N/A" >
335 </TextView>
336
337 <TextView
338 android:id="@+id/ydpi"
339 android:layout_width="wrap_content"
340 android:layout_height="wrap_content"
341 android:text="ydpi" >
342 </TextView>
343 </TableRow>
344
345 <TableRow
346 android:layout_width="fill_parent"
347 android:layout_height="wrap_content" >
348
349 <TextView
350 android:layout_width="wrap_content"
351 android:layout_height="wrap_content"
352 android:text="scaledDensity" >
353 </TextView>
354
355 <TextView
356 android:layout_width="wrap_content"
357 android:layout_height="wrap_content"
358 android:text="N/A" >
359 </TextView>
360
361 <TextView
362 android:id="@+id/scaled_density"
363 android:layout_width="wrap_content"
364 android:layout_height="wrap_content"
365 android:text="scaledDensity" >
366 </TextView>
367 </TableRow>
368
369 <TableRow
370 android:layout_width="fill_parent"
371 android:layout_height="wrap_content" >
372
373 <TextView
374 android:layout_width="wrap_content"
375 android:layout_height="wrap_content"
376 android:text="fontScale" >
377 </TextView>
378
379 <TextView
380 android:layout_width="wrap_content"
381 android:layout_height="wrap_content"
382 android:text="N/A" >
383 </TextView>
384
385 <TextView
386 android:id="@+id/font_scale"
387 android:layout_width="wrap_content"
388 android:layout_height="wrap_content"
389 android:text="fontScale" >
390 </TextView>
391 </TableRow>
392 </TableLayout>
393 </ScrollView>
394
395 </RelativeLayout>