|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | + android:id="@+id/config_bright_display_holder" |
3 | 4 | android:layout_width="match_parent" |
4 | 5 | android:layout_height="wrap_content" |
5 | 6 | android:layout_centerHorizontal="true" |
6 | | - android:layout_margin="@dimen/activity_margin" |
7 | | - android:paddingBottom="@dimen/activity_margin"> |
| 7 | + android:layout_margin="@dimen/activity_margin"> |
8 | 8 |
|
9 | 9 | <RelativeLayout |
| 10 | + android:id="@+id/config_bright_display_wrapper" |
10 | 11 | android:layout_width="match_parent" |
11 | 12 | android:layout_height="match_parent" |
12 | 13 | android:layout_above="@+id/config_widget_color" |
|
24 | 25 | android:id="@+id/config_widget_color" |
25 | 26 | android:layout_width="@dimen/widget_colorpicker_size" |
26 | 27 | android:layout_height="@dimen/widget_colorpicker_size" |
27 | | - android:layout_above="@+id/config_save" /> |
| 28 | + android:layout_above="@+id/config_save" |
| 29 | + android:layout_margin="@dimen/tiny_margin" /> |
28 | 30 |
|
29 | 31 | <RelativeLayout |
30 | 32 | android:id="@+id/config_widget_seekbar_holder" |
31 | 33 | android:layout_width="match_parent" |
32 | 34 | android:layout_height="match_parent" |
33 | 35 | android:layout_alignTop="@+id/config_widget_color" |
34 | 36 | android:layout_alignBottom="@+id/config_widget_color" |
35 | | - android:layout_toRightOf="@+id/config_widget_color" |
36 | | - android:background="@android:color/white"> |
| 37 | + android:layout_marginStart="@dimen/medium_margin" |
| 38 | + android:layout_toEndOf="@+id/config_widget_color" |
| 39 | + android:background="@drawable/widget_config_seekbar_background"> |
37 | 40 |
|
38 | | - <SeekBar |
| 41 | + <com.simplemobiletools.commons.views.MySeekBar |
39 | 42 | android:id="@+id/config_widget_seekbar" |
40 | 43 | android:layout_width="match_parent" |
41 | 44 | android:layout_height="wrap_content" |
42 | 45 | android:layout_centerVertical="true" |
43 | | - android:paddingLeft="@dimen/activity_margin" |
44 | | - android:paddingRight="@dimen/activity_margin" /> |
| 46 | + android:paddingStart="@dimen/activity_margin" |
| 47 | + android:paddingEnd="@dimen/activity_margin" /> |
45 | 48 | </RelativeLayout> |
46 | 49 |
|
47 | 50 | <Button |
48 | 51 | android:id="@+id/config_save" |
49 | 52 | android:layout_width="wrap_content" |
50 | 53 | android:layout_height="wrap_content" |
51 | | - android:layout_alignParentRight="true" |
| 54 | + android:layout_alignParentEnd="true" |
52 | 55 | android:layout_alignParentBottom="true" |
53 | | - android:background="@color/gradient_grey_start" |
| 56 | + android:layout_marginTop="@dimen/small_margin" |
| 57 | + android:background="@drawable/widget_config_seekbar_background" |
54 | 58 | android:fontFamily="sans-serif-light" |
55 | | - android:paddingLeft="@dimen/activity_margin" |
56 | | - android:paddingRight="@dimen/activity_margin" |
| 59 | + android:paddingStart="@dimen/activity_margin" |
| 60 | + android:paddingEnd="@dimen/activity_margin" |
57 | 61 | android:text="@string/ok" |
58 | | - android:textColor="@color/color_primary" |
| 62 | + android:textColor="@color/dark_grey" |
| 63 | + android:textFontWeight="400" |
59 | 64 | android:textSize="@dimen/big_text_size" /> |
60 | 65 |
|
61 | 66 | </RelativeLayout> |
0 commit comments