-
Notifications
You must be signed in to change notification settings - Fork 116
/
styles.xml
202 lines (180 loc) · 11 KB
/
styles.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
<resources>
<!-- region ===================================== Theme Blue ===================================== -->
<style name="AppTheme.Blue" parent="Theme.AppCompat.Light.NoActionBar">
<item name="main.tabLayout">@style/TabLayout.Blue</item>
<item name="colorPrimary">@color/blue_primary</item>
<item name="colorPrimaryDark">@color/blue_primary_dark</item>
<item name="toolbar.zhongjh">@style/Toolbar.Blue</item>
<item name="album.dropdown.title.color">@color/blue_album_dropdown_title_text</item>
<item name="album.dropdown.count.color">@color/blue_album_dropdown_count_text</item>
<item name="album.element.color">@android:color/white</item>
<item name="album.thumbnail.placeholder">@color/blue_album_dropdown_thumbnail_placeholder
</item>
<item name="album.emptyView">@drawable/ic_empty_blue</item>
<item name="album.emptyView.textColor">@color/blue_album_empty_view</item>
<item name="album.listPopupWindowStyle">@style/Popup.Blue</item>
<item name="item.placeholder">@color/blue_item_placeholder</item>
<item name="item.checkCircle.backgroundColor">@color/blue_item_checkCircle_backgroundColor
</item>
<item name="item.checkCircle.borderColor">@color/blue_item_checkCircle_borderColor</item>
<item name="page.bg">@color/blue_page_bg</item>
<item name="bottomToolbar.bg">@color/blue_bottom_toolbar_bg</item>
<item name="bottomToolbar.preview.textColor">@color/blue_bottom_toolbar_preview_zjh</item>
<item name="bottomToolbar.apply.textColor">@color/blue_bottom_toolbar_apply_zjh</item>
<item name="preview.bottomToolbar.back.textColor">
@color/blue_preview_bottom_toolbar_back_text
</item>
<item name="preview.bottomToolbar.apply.textColor">
@color/blue_preview_bottom_toolbar_apply_zjh
</item>
<item name="capture.textColor">@color/blue_capture</item>
<item name="android:windowIsTranslucent">false</item> <!-- 如果设置为true,api 26会闪退 -->
<!-- 录制的按钮样式 -->
<!-- 按钮外圈颜色 -->
<item name="click.long.button.round.border">#ffffffff</item>
<!-- 按钮内圈长按中的颜色 -->
<item name="click.long.button.inner.circle.in.operation">@color/blue_primary</item>
<!-- 按钮内圈默认的颜色 -->
<item name="click.long.button.inner.circle.no.operation">#99ffffff</item>
<!-- 展示视频界面的样式 -->
<!-- 提交按钮的文字的颜色 -->
<item name="preview.video.button.confirm.text.color">@color/white</item>
<!-- 提交按钮的文字值 -->
<item name="preview.video.button.confirm.text.value">@string/z_multi_library_confirm</item>
<!-- 提交按钮的背景颜色 - 深色 -->
<item name="preview.video.button.confirm.background.color">
@color/operation_background
</item>
<!-- 提交按钮的背景颜色 - 浅色 -->
<item name="preview.video.button.confirm.background.progress.color">
@color/white
</item>
<!-- 提交按钮的完成时图标 -->
<item name="preview.video.button.confirm.icon.complete">@drawable/ic_baseline_done</item>
<!-- 提交按钮的失败时图标 -->
<item name="preview.video.button.confirm.icon.error">@drawable/ic_baseline_close_24</item>
</style>
<style name="Toolbar.Blue" parent="ThemeOverlay.AppCompat.Dark.ActionBar">
</style>
<style name="Popup.Blue" parent="">
<item name="album.backgroundStyle">@drawable/spinner_item_select_bg_white</item> <!-- 专辑选项的背景样式 -->
<item name="album.checkDotStyle">@drawable/ic_orange_oval</item> <!-- 专辑选中时候的样式 -->
<item name="album.textColor">@color/text_color_4d</item> <!-- 专辑字体颜色 -->
<item name="album.textSize">16sp</item> <!-- 专辑字体大小 -->
<item name="album.arrow.up.icon">@drawable/ic_round_keyboard_arrow_up_24</item> <!-- 上箭头 -->
<item name="album.arrow.down.icon">@drawable/ic_round_keyboard_arrow_down_24</item> <!-- 下箭头 -->
</style>
<style name="TabLayout.Blue" parent="">
<item name="tabLayout.bg.zjh">@color/blue_bottom_toolbar_bg</item> <!-- 底部tabLayout背景颜色 -->
<item name="tabLayout.unselected.textColor">@color/blue_tabLayout_unselected_textColor
</item> <!-- 未选择时.文本颜色 -->
<item name="tabLayout.selected.textColor">@color/blue_primary</item> <!-- 选择时.文本颜色 -->
</style>
<!-- endregion ===================================== Theme Blue ===================================== -->
<!-- region ===================================== Theme Dracula ===================================== -->
<style name="AppTheme.Dracula" parent="Theme.AppCompat.NoActionBar">
<item name="main.tabLayout">@style/TabLayout.Dracula</item>
<item name="colorPrimary">@color/dracula_primary</item>
<item name="colorPrimaryDark">@color/dracula_primary_dark</item>
<item name="toolbar.zhongjh">@style/Toolbar.Dracula</item>
<item name="album.dropdown.title.color">@color/dracula_album_dropdown_title_text</item>
<item name="album.dropdown.count.color">@color/dracula_album_dropdown_count_text</item>
<item name="album.element.color">@android:color/white</item>
<item name="album.thumbnail.placeholder">
@color/dracula_album_dropdown_thumbnail_placeholder
</item>
<item name="album.emptyView">@drawable/ic_empty_dracula</item>
<item name="album.emptyView.textColor">@color/dracula_album_empty_view</item>
<item name="item.placeholder">@color/dracula_item_placeholder</item>
<item name="item.checkCircle.backgroundColor">
@color/dracula_item_checkCircle_backgroundColor
</item>
<item name="item.checkCircle.borderColor">@color/dracula_item_checkCircle_borderColor</item>
<item name="page.bg">@color/dracula_page_bg</item>
<item name="bottomToolbar.bg">@color/dracula_bottom_toolbar_bg</item>
<item name="bottomToolbar.preview.textColor">@color/dracula_bottom_toolbar_preview_zjh
</item>
<item name="bottomToolbar.apply.textColor">@color/dracula_bottom_toolbar_apply_zjh</item>
<item name="preview.bottomToolbar.back.textColor">
@color/dracula_preview_bottom_toolbar_back_text
</item>
<item name="preview.bottomToolbar.apply.textColor">
@color/dracula_preview_bottom_toolbar_apply_zjh
</item>
<item name="album.listPopupWindowStyle">@style/Popup.Dracula</item>
<item name="capture.textColor">@color/dracula_capture</item>
<item name="android:windowIsTranslucent">false</item> <!-- 如果设置为true,api 26会闪退 -->
<!-- 录制的按钮样式 -->
<!-- 按钮外圈颜色 -->
<item name="click.long.button.round.border">#ffffffff</item>
<!-- 按钮内圈长按中的颜色 -->
<item name="click.long.button.inner.circle.in.operation">@color/dracula_primary</item>
<!-- 按钮内圈默认的颜色 -->
<item name="click.long.button.inner.circle.no.operation">#99ffffff</item>
<!-- 展示视频界面的样式 -->
<!-- 提交按钮的文字的颜色 -->
<item name="preview.video.button.confirm.text.color">@color/white</item>
<!-- 提交按钮的文字值 -->
<item name="preview.video.button.confirm.text.value">@string/z_multi_library_delete_button</item>
<!-- 提交按钮的背景颜色 - 深色 -->
<item name="preview.video.button.confirm.background.color">
@color/operation_background
</item>
<!-- 提交按钮的背景颜色 - 浅色 -->
<item name="preview.video.button.confirm.background.progress.color">
@color/white
</item>
<!-- 提交按钮的完成时图标 -->
<item name="preview.video.button.confirm.icon.complete">@drawable/ic_baseline_done</item>
<!-- 提交按钮的失败时图标 -->
<item name="preview.video.button.confirm.icon.error">@drawable/ic_baseline_close_24</item>
</style>
<style name="Toolbar.Dracula" parent="ThemeOverlay.AppCompat.Dark.ActionBar">
</style>
<style name="Popup.Dracula" parent="">
<item name="album.backgroundStyle">@drawable/spinner_item_select_bg_dracula
</item> <!-- 专辑选项的背景样式 -->
<item name="album.checkDotStyle">@drawable/ic_orange_oval</item> <!-- 专辑选中时候的样式 -->
<item name="album.textColor">@color/white</item> <!-- 专辑字体颜色 -->
<item name="album.textSize">16sp</item> <!-- 专辑字体大小 -->
<item name="album.arrow.up.icon">@drawable/ic_round_keyboard_arrow_up_24</item> <!-- 上箭头 -->
<item name="album.arrow.down.icon">@drawable/ic_round_keyboard_arrow_down_24
</item> <!-- 下箭头 -->
</style>
<style name="TabLayout.Dracula" parent="">
<item name="tabLayout.bg.zjh">@color/dracula_bottom_toolbar_bg
</item> <!-- 底部tabLayout背景颜色 -->
<item name="tabLayout.unselected.textColor">@color/dracula_tabLayout_unselected_textColor
</item> <!-- 未选择时.文本颜色 -->
<item name="tabLayout.selected.textColor">@color/dracula_primary</item> <!-- 选择时.文本颜色 -->
</style>
<!-- endregion ===================================== Theme Dracula ===================================== -->
<style name="MyAlertDialogStyle" parent="Theme.AppCompat.Light.Dialog.Alert">
<!-- Used for the buttons -->
<item name="colorAccent">#FF5151</item>
<!-- Used for the title and text -->
<item name="android:textColorPrimary">#000000</item>
<!-- Used for the background -->
<item name="android:background">#FFFFFF</item>
</style>
<declare-styleable name="CircularProgressButton">
<attr name="cpb_selectorIdle" format="reference" />
<attr name="cpb_selectorComplete" format="reference" />
<attr name="cpb_selectorError" format="reference" />
<attr name="cpb_textComplete" format="string" />
<attr name="cpb_textIdle" format="string" />
<attr name="cpb_textError" format="string" />
<attr name="cpb_textProgress" format="string" />
<attr name="cpb_colorProgress" format="color" />
<attr name="cpb_colorIndicator" format="color" />
<attr name="cpb_colorIndicatorBackground" format="color" />
<attr name="cpb_iconError" format="reference" />
<attr name="cpb_iconComplete" format="reference" />
<attr name="cpb_cornerRadius" format="dimension" />
<attr name="cpb_paddingProgress" format="dimension" />
</declare-styleable>
<style name="AlbumSpinnerThemeStyle">
<item name="android:windowEnterAnimation">@anim/album_spinner_show_zjh</item>
<item name="android:windowExitAnimation">@anim/album_spinner_dismiss_zjh</item>
</style>
</resources>