|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
3 | | -android:layout_width="fill_parent" android:layout_height="fill_parent" |
4 | | -android:baselineAligned="false" android:orientation="vertical" |
5 | | -android:keepScreenOn="true"> |
6 | | -<LinearLayout android:layout_width="fill_parent" |
7 | | -android:orientation="horizontal" android:layout_height="wrap_content" |
8 | | -android:paddingBottom="5dip" android:paddingTop="5dip"> |
| 3 | +android:layout_width="fill_parent" |
| 4 | +android:layout_height="fill_parent" |
| 5 | +android:baselineAligned="false" |
| 6 | +android:keepScreenOn="true" |
| 7 | +android:orientation="vertical"> |
| 8 | + |
| 9 | +<LinearLayout |
| 10 | +android:layout_width="fill_parent" |
| 11 | +android:layout_height="wrap_content" |
| 12 | +android:gravity="center" |
| 13 | +android:orientation="horizontal" |
| 14 | +android:paddingTop="5dip" |
| 15 | +android:paddingBottom="5dip"> |
9 | 16 |
|
10 | 17 | <TextView |
11 | 18 | android:id="@+id/status_server" |
12 | | -android:layout_width="wrap_content" |
| 19 | +android:layout_width="0dp" |
13 | 20 | android:layout_height="fill_parent" |
| 21 | +android:layout_weight="0.5" |
14 | 22 | android:drawableStart="@drawable/clock" |
15 | 23 | android:drawablePadding="5dip" |
16 | 24 | android:text="@string/n_a" /> |
17 | 25 |
|
18 | 26 | <TextView |
19 | 27 | android:id="@+id/reconnect" |
20 | | -android:layout_width="wrap_content" |
| 28 | +android:layout_width="0dp" |
21 | 29 | android:layout_height="fill_parent" |
| 30 | +android:layout_weight="0.5" |
22 | 31 | android:drawableStart="@drawable/redo" |
23 | 32 | android:drawablePadding="5dip" |
24 | 33 | android:text="@string/n_a" /> |
25 | 34 |
|
26 | 35 | <TextView |
27 | 36 | android:id="@+id/speed" |
28 | | -android:layout_width="wrap_content" |
| 37 | +android:layout_width="0dp" |
29 | 38 | android:layout_height="fill_parent" |
| 39 | +android:layout_weight="1" |
30 | 40 | android:drawableStart="@drawable/download" |
31 | 41 | android:drawablePadding="5dip" |
32 | 42 | android:text="@string/n_a" /> |
33 | 43 |
|
34 | 44 | <TextView |
35 | 45 | android:id="@+id/active" |
36 | | -android:layout_width="wrap_content" |
| 46 | +android:layout_width="0dp" |
37 | 47 | android:layout_height="fill_parent" |
| 48 | +android:layout_weight="0.5" |
38 | 49 | android:drawableStart="@drawable/todo" |
39 | 50 | android:drawablePadding="5dip" |
40 | 51 | android:text="@string/_0_0" /> |
41 | 52 |
|
42 | 53 | </LinearLayout> |
43 | 54 |
|
44 | 55 |
|
45 | | -<ListView android:id="@android:id/list" |
| 56 | +<ListView |
| 57 | +android:id="@android:id/list" |
46 | 58 | android:layout_width="fill_parent" |
47 | 59 | android:layout_height="fill_parent" /> |
48 | 60 |
|
49 | | - <TextView android:id="@android:id/empty" android:layout_width="fill_parent" |
50 | | - android:text="@string/no_downloads" android:layout_height="fill_parent" |
51 | | - android:layout_marginTop="-30dp" android:gravity="center" |
52 | | - android:textAppearance="?android:attr/textAppearanceLarge" /> |
| 61 | +<TextView |
| 62 | +android:id="@android:id/empty" |
| 63 | +android:layout_width="fill_parent" |
| 64 | +android:layout_height="fill_parent" |
| 65 | +android:layout_marginTop="-30dp" |
| 66 | +android:gravity="center" |
| 67 | +android:text="@string/no_downloads" |
| 68 | +android:textAppearance="?android:attr/textAppearanceLarge" /> |
53 | 69 |
|
54 | 70 | </LinearLayout> |
0 commit comments