1 |
torben |
784 |
<?xml version="1.0" encoding="utf-8"?> |
2 |
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
3 |
|
|
android:orientation="vertical" |
4 |
|
|
android:layout_width="fill_parent" |
5 |
|
|
android:layout_height="fill_parent" |
6 |
|
|
> |
7 |
|
|
<LinearLayout android:orientation="horizontal" |
8 |
|
|
android:layout_width="fill_parent" |
9 |
|
|
android:layout_height="wrap_content"> |
10 |
|
|
<TextView |
11 |
|
|
android:layout_width="wrap_content" |
12 |
|
|
android:layout_height="wrap_content" |
13 |
|
|
android:layout_gravity="center" |
14 |
|
|
android:text="Scan folder: " |
15 |
|
|
/> |
16 |
|
|
<Spinner |
17 |
|
|
android:id="@+id/target" |
18 |
|
|
android:layout_width="fill_parent" |
19 |
|
|
android:layout_height="wrap_content"/> |
20 |
|
|
</LinearLayout> |
21 |
|
|
|
22 |
|
|
|
23 |
|
|
<ProgressBar |
24 |
|
|
android:id="@+id/progress" |
25 |
|
|
android:layout_width="fill_parent" |
26 |
|
|
android:layout_height="wrap_content" |
27 |
|
|
style="?android:attr/progressBarStyleHorizontal" |
28 |
|
|
/> |
29 |
|
|
|
30 |
|
|
|
31 |
|
|
<TableLayout |
32 |
|
|
android:layout_width="fill_parent" |
33 |
|
|
android:layout_height="wrap_content"> |
34 |
|
|
<TableRow> |
35 |
|
|
<TextView |
36 |
|
|
android:layout_width="fill_parent" |
37 |
|
|
android:layout_height="wrap_content" |
38 |
|
|
android:text="Total files: "/> |
39 |
|
|
<TextView |
40 |
|
|
android:id="@+id/total" |
41 |
|
|
android:layout_width="fill_parent" |
42 |
|
|
android:layout_height="wrap_content"/> |
43 |
|
|
</TableRow> |
44 |
|
|
|
45 |
|
|
<TableRow> |
46 |
|
|
<TextView |
47 |
|
|
android:layout_width="fill_parent" |
48 |
|
|
android:layout_height="wrap_content" |
49 |
|
|
android:text="Files processed: "/> |
50 |
|
|
<TextView |
51 |
|
|
android:id="@+id/processed" |
52 |
|
|
android:layout_width="fill_parent" |
53 |
|
|
android:layout_height="wrap_content"/> |
54 |
|
|
</TableRow> |
55 |
|
|
</TableLayout> |
56 |
|
|
<View |
57 |
|
|
android:layout_width="fill_parent" |
58 |
|
|
android:layout_height="wrap_content" |
59 |
|
|
android:layout_weight="1" |
60 |
|
|
/> |
61 |
|
|
|
62 |
|
|
<Button |
63 |
|
|
android:id="@+id/scan" |
64 |
|
|
android:layout_width="fill_parent" |
65 |
|
|
android:layout_height="wrap_content" |
66 |
|
|
android:layout_gravity="bottom" |
67 |
|
|
android:text="(Re)scan SD card" |
68 |
|
|
/> |
69 |
|
|
</LinearLayout> |