-
Notifications
You must be signed in to change notification settings - Fork 89
/
styles.xml
79 lines (68 loc) · 3.24 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
<resources>
<!-- Theme for SwitchDateTime -->
<style name="Theme.SwitchDateTime" parent="Theme.MaterialComponents.Light.DarkActionBar">
<item name="colorPrimary">#29b6f6</item>
<item name="colorPrimaryDark">#03a9f4</item>
<item name="android:textColorPrimaryInverse">#e6e6e6</item>
<item name="android:textColorSecondaryInverse">#e1e1e1</item>
</style>
<!-- Header Background -->
<style name="Theme.SwitchDateTime.HeaderBackground">
<item name="android:background">?attr/colorPrimary</item>
</style>
<!-- Content Background -->
<style name="Theme.SwitchDateTime.ContentBackground">
<item name="android:background">#00ffffff</item>
</style>
<!-- Title -->
<style name="Theme.SwitchDateTime.TitleDateTimeLabelText">
<item name="android:textSize">@dimen/title_date_time_label_text</item>
<item name="android:textColor">?android:attr/textColorPrimaryInverse</item>
<item name="android:textStyle">bold</item>
</style>
<!-- Icon -->
<style name="Theme.SwitchDateTime.IconDateTimeSwitch">
<item name="android:src">@drawable/ic_view_carousel_black_32dp</item>
<item name="tint">?android:attr/textColorPrimaryInverse</item>
</style>
<!-- Time -->
<style name="Theme.SwitchDateTime.Time">
<item name="timeCircleColor">#e1e1e1</item>
<item name="timeCenterColor">?attr/colorPrimary</item>
<item name="timeAmPmBackgroundColor">?attr/colorPrimary</item>
<item name="timeAmPmSelectBackgroundColor">?attr/colorPrimary</item> <!-- Alpha is apply-->
<item name="timeAmPmTextColor">?android:attr/textColorPrimaryInverse</item>
<item name="timeSelectorColor">?attr/colorPrimary</item>
<item name="timeCircularNumbersColor">#494949</item>
</style>
<!-- Time Label -->
<style name="Theme.SwitchDateTime.TimeLabelText">
<item name="android:textSize">@dimen/time_label_text</item>
<item name="android:textColor">?android:attr/textColorSecondaryInverse</item>
</style>
<style name="Theme.SwitchDateTime.TimeLabelAmPm">
<item name="android:textSize">@dimen/time_label_AmPm</item>
<item name="android:textColor">?android:attr/textColorSecondaryInverse</item>
<item name="android:textStyle">bold</item>
</style>
<!-- Date -->
<style name="Theme.SwitchDateTime.Date">
<item name="mcv_selectionColor">?attr/colorPrimary</item>
</style>
<!-- Date Label -->
<style name="Theme.SwitchDateTime.DateLabelMonthAndDay">
<item name="android:textSize">@dimen/date_label_month_and_day</item>
<item name="android:textColor">?android:attr/textColorSecondaryInverse</item>
</style>
<!-- Year Selected-->
<style name="Theme.SwitchDateTime.Year">
<item name="colorCircleIndicator">?attr/colorPrimary</item>
<item name="android:textColor">?android:attr/textColorPrimaryInverse</item>
</style>
<!-- Year Label -->
<style name="Theme.SwitchDateTime.DateLabelYear">
<item name="android:textSize">@dimen/date_label_year</item>
<item name="android:textColor">?android:attr/textColorSecondaryInverse</item>
<item name="android:textStyle">bold</item>
</style>
</resources>