|
1 | | -<RelativeLayout |
2 | | - xmlns:android="http://schemas.android.com/apk/res/android" |
| 1 | +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
3 | 2 | xmlns:tools="http://schemas.android.com/tools" |
4 | 3 | android:layout_width="match_parent" |
5 | 4 | android:layout_height="match_parent" |
6 | | - tools:context=".MainActivity" |
7 | | - android:paddingTop="18dp"> |
| 5 | + tools:context=".MainActivity"> |
8 | 6 |
|
9 | 7 | <LinearLayout |
10 | 8 | android:id="@+id/buttons_container" |
11 | 9 | android:layout_width="match_parent" |
12 | 10 | android:layout_height="wrap_content" |
13 | | - android:orientation="horizontal"> |
| 11 | + android:orientation="horizontal" |
| 12 | + android:paddingBottom="18dp" |
| 13 | + android:paddingTop="18dp"> |
14 | 14 |
|
15 | 15 | <Button |
16 | 16 | android:id="@+id/button_update" |
17 | 17 | android:layout_width="0dp" |
18 | 18 | android:layout_height="wrap_content" |
19 | 19 | android:layout_weight="1" |
20 | | - android:text="@string/button_update"/> |
| 20 | + android:text="@string/button_update" /> |
21 | 21 |
|
22 | 22 | <ToggleButton |
23 | 23 | android:id="@+id/button_is_reverse" |
24 | 24 | android:layout_width="0dp" |
25 | 25 | android:layout_height="wrap_content" |
26 | 26 | android:layout_weight="1" |
27 | 27 | android:textOff="@string/button_reverse" |
28 | | - android:textOn="@string/button_reverse"/> |
| 28 | + android:textOn="@string/button_reverse" /> |
29 | 29 |
|
30 | 30 | </LinearLayout> |
31 | 31 |
|
|
34 | 34 | android:layout_width="match_parent" |
35 | 35 | android:layout_height="match_parent" |
36 | 36 | android:layout_below="@id/buttons_container" |
37 | | - android:layout_margin="18dp" |
38 | | - android:padding="16dp" |
39 | 37 | android:background="#ffbef0ff" |
40 | | - android:saveEnabled="false" |
41 | 38 | android:clipToPadding="true" |
42 | | - /> |
| 39 | + android:padding="16dp" |
| 40 | + android:saveEnabled="false" /> |
43 | 41 |
|
44 | 42 | </RelativeLayout> |
0 commit comments