44 android : layout_width =" match_parent"
55 android : layout_height =" wrap_content"
66 android : gravity =" center_horizontal"
7- android : orientation =" vertical"
8- android : paddingLeft =" @dimen/spacing_16"
9- android : paddingRight =" @dimen/spacing_16" >
7+ android : orientation =" vertical" >
108
11- <CheckBox
12- android : id =" @+id/cb_alpha"
13- android : layout_width =" wrap_content"
14- android : layout_height =" wrap_content"
15- android : layout_gravity =" center_horizontal"
16- android : layout_margin =" 4dp"
17- android : text =" @string/status_bar_title_alpha" />
18-
19- <TextView
20- android : id =" @+id/tv_status_alpha"
21- style =" @style/TextStyle"
22- android : layout_width =" wrap_content"
23- android : layout_height =" wrap_content"
24- android : layout_gravity =" center_horizontal" />
25-
26- <SeekBar
27- android : id =" @+id/sb_change_alpha"
9+ <View
10+ android : id =" @+id/fake_status_bar"
2811 android : layout_width =" match_parent"
29- android : layout_height =" wrap_content"
30- android : max =" 255"
31- android : padding =" @dimen/spacing_8"
32- android : progress =" 112" />
12+ android : layout_height =" 0dp" />
3313
34- <Button
35- android : id =" @+id/btn_random_color"
36- style =" @style/WideBtnStyle"
14+ <LinearLayout
3715 android : layout_width =" match_parent"
3816 android : layout_height =" wrap_content"
39- android : text =" @string/status_bar_random_color" />
17+ android : gravity =" center_horizontal"
18+ android : orientation =" vertical"
19+ android : paddingLeft =" @dimen/spacing_16"
20+ android : paddingRight =" @dimen/spacing_16" >
4021
41- <Button
42- android : id =" @+id/btn_set_transparent"
43- style =" @style/WideBtnStyle"
44- android : layout_width =" match_parent"
45- android : layout_height =" wrap_content"
46- android : text =" @string/status_bar_set_transparent" />
22+ <CheckBox
23+ android : id =" @+id/cb_alpha"
24+ android : layout_width =" wrap_content"
25+ android : layout_height =" wrap_content"
26+ android : layout_gravity =" center_horizontal"
27+ android : layout_margin =" 4dp"
28+ android : text =" @string/status_bar_title_alpha" />
29+
30+ <TextView
31+ android : id =" @+id/tv_status_alpha"
32+ style =" @style/TextStyle"
33+ android : layout_width =" wrap_content"
34+ android : layout_height =" wrap_content"
35+ android : layout_gravity =" center_horizontal" />
36+
37+ <SeekBar
38+ android : id =" @+id/sb_change_alpha"
39+ android : layout_width =" match_parent"
40+ android : layout_height =" wrap_content"
41+ android : max =" 255"
42+ android : padding =" @dimen/spacing_8"
43+ android : progress =" 112" />
44+
45+ <Button
46+ android : id =" @+id/btn_random_color"
47+ style =" @style/WideBtnStyle"
48+ android : layout_width =" match_parent"
49+ android : layout_height =" wrap_content"
50+ android : text =" @string/status_bar_random_color" />
51+
52+ <Button
53+ android : id =" @+id/btn_set_transparent"
54+ style =" @style/WideBtnStyle"
55+ android : layout_width =" match_parent"
56+ android : layout_height =" wrap_content"
57+ android : text =" @string/status_bar_set_transparent" />
4758
59+ </LinearLayout >
4860</LinearLayout >
0 commit comments