|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | | -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 2 | +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
3 | 3 | android:id="@+id/main_root" |
4 | 4 | android:layout_width="match_parent" |
5 | 5 | android:layout_height="match_parent" |
6 | | - android:orientation="vertical" |
7 | | - android:gravity="center" |
8 | | - android:background="#101418" |
9 | | - android:padding="24dp"> |
10 | | - |
11 | | - <TextView |
12 | | - android:layout_width="wrap_content" |
13 | | - android:layout_height="wrap_content" |
14 | | - android:text="@string/app_title" |
15 | | - android:textSize="28sp" |
16 | | - android:textColor="#FFFFFF" /> |
17 | | - |
18 | | - <TextView |
19 | | - android:id="@+id/version_text" |
20 | | - android:layout_width="wrap_content" |
21 | | - android:layout_height="wrap_content" |
22 | | - android:layout_marginTop="6dp" |
23 | | - android:textSize="15sp" |
24 | | - android:textColor="#FFC107" /> |
25 | | - |
26 | | - <TextView |
27 | | - android:id="@+id/status_text" |
28 | | - android:layout_width="wrap_content" |
29 | | - android:layout_height="wrap_content" |
30 | | - android:layout_marginTop="18dp" |
31 | | - android:textSize="16sp" |
32 | | - android:textColor="#B0C4DE" |
33 | | - android:gravity="center" /> |
34 | | - |
35 | | - <Button |
36 | | - android:id="@+id/btn_setup_pin" |
37 | | - android:layout_width="320dp" |
38 | | - android:layout_height="wrap_content" |
39 | | - android:layout_marginTop="18dp" |
40 | | - android:text="@string/btn_setup_pin" /> |
41 | | - |
42 | | - <Button |
43 | | - android:id="@+id/btn_grace" |
44 | | - android:layout_width="320dp" |
45 | | - android:layout_height="wrap_content" |
46 | | - android:layout_marginTop="8dp" |
47 | | - android:text="@string/btn_grace" /> |
48 | | - |
49 | | - <Button |
50 | | - android:id="@+id/btn_blocked" |
51 | | - android:layout_width="320dp" |
52 | | - android:layout_height="wrap_content" |
53 | | - android:layout_marginTop="8dp" |
54 | | - android:text="@string/btn_blocked" /> |
55 | | - |
56 | | - <Button |
57 | | - android:id="@+id/btn_service" |
58 | | - android:layout_width="320dp" |
59 | | - android:layout_height="wrap_content" |
60 | | - android:layout_marginTop="8dp" |
61 | | - android:text="@string/btn_service" /> |
62 | | -</LinearLayout> |
| 6 | + android:background="#101418"> |
| 7 | + |
| 8 | + <LinearLayout |
| 9 | + android:layout_width="match_parent" |
| 10 | + android:layout_height="match_parent" |
| 11 | + android:orientation="vertical" |
| 12 | + android:gravity="center" |
| 13 | + android:padding="24dp"> |
| 14 | + |
| 15 | + <TextView |
| 16 | + android:layout_width="wrap_content" |
| 17 | + android:layout_height="wrap_content" |
| 18 | + android:text="@string/app_title" |
| 19 | + android:textSize="28sp" |
| 20 | + android:textColor="#FFFFFF" /> |
| 21 | + |
| 22 | + <TextView |
| 23 | + android:id="@+id/version_text" |
| 24 | + android:layout_width="wrap_content" |
| 25 | + android:layout_height="wrap_content" |
| 26 | + android:layout_marginTop="6dp" |
| 27 | + android:textSize="15sp" |
| 28 | + android:textColor="#FFC107" /> |
| 29 | + |
| 30 | + <TextView |
| 31 | + android:id="@+id/status_text" |
| 32 | + android:layout_width="wrap_content" |
| 33 | + android:layout_height="wrap_content" |
| 34 | + android:layout_marginTop="18dp" |
| 35 | + android:textSize="16sp" |
| 36 | + android:textColor="#B0C4DE" |
| 37 | + android:gravity="center" /> |
| 38 | + |
| 39 | + <Button |
| 40 | + android:id="@+id/btn_setup_pin" |
| 41 | + android:layout_width="320dp" |
| 42 | + android:layout_height="wrap_content" |
| 43 | + android:layout_marginTop="18dp" |
| 44 | + android:text="@string/btn_setup_pin" /> |
| 45 | + |
| 46 | + <Button |
| 47 | + android:id="@+id/btn_grace" |
| 48 | + android:layout_width="320dp" |
| 49 | + android:layout_height="wrap_content" |
| 50 | + android:layout_marginTop="8dp" |
| 51 | + android:text="@string/btn_grace" /> |
| 52 | + |
| 53 | + <Button |
| 54 | + android:id="@+id/btn_blocked" |
| 55 | + android:layout_width="320dp" |
| 56 | + android:layout_height="wrap_content" |
| 57 | + android:layout_marginTop="8dp" |
| 58 | + android:text="@string/btn_blocked" /> |
| 59 | + |
| 60 | + <Button |
| 61 | + android:id="@+id/btn_service" |
| 62 | + android:layout_width="320dp" |
| 63 | + android:layout_height="wrap_content" |
| 64 | + android:layout_marginTop="8dp" |
| 65 | + android:text="@string/btn_service" /> |
| 66 | + </LinearLayout> |
| 67 | +</FrameLayout> |
0 commit comments