1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <RelativeLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3
+ xmlns : tools =" http://schemas.android.com/tools"
4
+ tools : ignore =" MissingPrefix"
5
+ android : layout_width =" match_parent"
6
+ android : layout_height =" match_parent"
7
+ android : fitsSystemWindows =" true" >
8
+
9
+ <android .support.v7.widget.Toolbar
10
+ android : id =" @+id/toolbar"
11
+ android : layout_width =" match_parent"
12
+ android : layout_height =" ?attr/actionBarSize"
13
+ android : minHeight =" ?attr/actionBarSize"
14
+ android : background =" ?attr/colorPrimary" >
15
+
16
+ <TextView
17
+ android : id =" @+id/toolbar_title"
18
+ android : layout_width =" wrap_content"
19
+ android : layout_height =" match_parent"
20
+ android : gravity =" center_vertical"
21
+ android : text =" @string/muzei_settings"
22
+ android : singleLine =" true"
23
+ android : ellipsize =" end"
24
+ android : textSize =" 20sp"
25
+ android : textColor =" ?attr/toolbar_icon"
26
+ fontPath =" fonts/Font-Medium.ttf" />
27
+
28
+ </android .support.v7.widget.Toolbar>
29
+
30
+ <ScrollView
31
+ android : layout_width =" match_parent"
32
+ android : layout_height =" match_parent"
33
+ android : layout_below =" @+id/toolbar" >
34
+
35
+ <LinearLayout
36
+ android : layout_width =" wrap_content"
37
+ android : layout_height =" wrap_content"
38
+ android : orientation =" vertical"
39
+ android : layout_gravity =" center"
40
+ android : layout_margin =" @dimen/content_margin"
41
+ android : gravity =" center_vertical" >
42
+
43
+ <TextView
44
+ android : layout_width =" match_parent"
45
+ android : layout_height =" wrap_content"
46
+ android : text =" @string/muzei_refresh_duration"
47
+ android : textSize =" 18sp"
48
+ android : textColor =" ?attr/colorAccent"
49
+ android : gravity =" center"
50
+ fontPath =" fonts/Font-Bold.ttf" />
51
+
52
+ <LinearLayout
53
+ android : layout_width =" wrap_content"
54
+ android : layout_height =" wrap_content"
55
+ android : orientation =" horizontal"
56
+ android : layout_gravity =" center"
57
+ android : gravity =" center"
58
+ android : layout_marginTop =" 10dp" >
59
+
60
+ <NumberPicker
61
+ android : id =" @+id/number_picker"
62
+ android : layout_width =" wrap_content"
63
+ android : layout_height =" wrap_content"
64
+ android : descendantFocusability =" blocksDescendants" />
65
+
66
+ <RadioButton
67
+ android : id =" @+id/minute"
68
+ android : layout_width =" wrap_content"
69
+ android : layout_height =" wrap_content"
70
+ android : text =" @string/minute"
71
+ android : textColor =" ?android:attr/textColorPrimary"
72
+ fontPath =" fonts/Font-Regular.ttf" />
73
+
74
+ <RadioButton
75
+ android : id =" @+id/hour"
76
+ android : layout_width =" wrap_content"
77
+ android : layout_height =" wrap_content"
78
+ android : text =" @string/hour"
79
+ android : textColor =" ?android:attr/textColorPrimary"
80
+ fontPath =" fonts/Font-Regular.ttf" />
81
+
82
+ </LinearLayout >
83
+
84
+ <android .support.v7.widget.AppCompatCheckBox
85
+ android : id =" @+id/wifi_only"
86
+ android : layout_width =" wrap_content"
87
+ android : layout_height =" wrap_content"
88
+ android : layout_marginTop =" 20dp"
89
+ android : text =" @string/muzei_wifi_only"
90
+ android : background =" @android:color/transparent"
91
+ android : textColor =" ?android:attr/textColorPrimary"
92
+ fontPath =" fonts/Font-Regular.ttf" />
93
+
94
+ <android .support.v7.widget.AppCompatCheckBox
95
+ android : id =" @+id/downloaded_only"
96
+ android : layout_width =" wrap_content"
97
+ android : layout_height =" wrap_content"
98
+ android : layout_marginTop =" 2dp"
99
+ android : text =" @string/muzei_downloaded_only"
100
+ android : background =" @android:color/transparent"
101
+ android : textColor =" ?android:attr/textColorPrimary"
102
+ fontPath =" fonts/Font-Regular.ttf" />
103
+
104
+ </LinearLayout >
105
+
106
+ </ScrollView >
107
+
108
+ <View
109
+ android : layout_width =" match_parent"
110
+ android : layout_height =" @dimen/toolbar_shadow"
111
+ android : layout_below =" @+id/toolbar"
112
+ android : background =" @drawable/toolbar_shadow" />
113
+
114
+ </RelativeLayout >
0 commit comments