Project

General

Profile

Download (3.54 KB) Statistics
| Branch: | Tag: | Revision:

magiccube / src / main / res / values / styles.xml @ 3bedda30

1
<resources>
2

    
3
   <style name="BaseMaterialThemeNoActionBar" parent="@style/Theme.MaterialComponents.NoActionBar">
4
        <item name="tabBackground">@drawable/tab_background</item>
5
        <item name="tabIndicatorHeight">0dp</item>
6
        <item name="android:windowNoTitle">true</item>
7
        <item name="android:windowActionBar">false</item>
8
        <item name="android:windowFullscreen">true</item>
9
        <item name="android:windowContentOverlay">@null</item>
10
        <item name="materialThemeOverlay">@style/ButtonStyleTextColor</item>
11
        <item name="buttonBarNegativeButtonStyle">@style/NegativeButtonStyle</item>
12
        <item name="buttonBarPositiveButtonStyle">@style/PositiveButtonStyle</item>
13
   </style>
14

    
15
   <style name="GreyTheme" parent="@style/BaseMaterialThemeNoActionBar">
16
        <item name="veryDarkC">@color/veryDarkGrey</item>
17
        <item name="darkC">@color/darkGrey</item>
18
        <item name="normalC">@color/normalGrey</item>
19
        <item name="mediumC">@color/mediumGrey</item>
20
        <item name="lightC">@color/lightGrey</item>
21
        <item name="passedC">@color/passedGrey</item>
22
        <item name="selectC">@color/selectGrey</item>
23
   </style>
24

    
25
   <style name="BlueTheme" parent="@style/BaseMaterialThemeNoActionBar">
26
        <item name="veryDarkC">@color/veryDarkBlue</item>
27
        <item name="darkC">@color/darkBlue</item>
28
        <item name="normalC">@color/normalBlue</item>
29
        <item name="mediumC">@color/mediumBlue</item>
30
        <item name="lightC">@color/lightBlue</item>
31
        <item name="passedC">@color/passedBlue</item>
32
        <item name="selectC">@color/selectBlue</item>
33
   </style>
34

    
35
   <style name="GreenTheme" parent="@style/BaseMaterialThemeNoActionBar">
36
        <item name="veryDarkC">@color/veryDarkGreen</item>
37
        <item name="darkC">@color/darkGreen</item>
38
        <item name="normalC">@color/normalGreen</item>
39
        <item name="mediumC">@color/mediumGreen</item>
40
        <item name="lightC">@color/lightGreen</item>
41
        <item name="passedC">@color/passedGreen</item>
42
        <item name="selectC">@color/selectGreen</item>
43
   </style>
44

    
45
   <style name="PinkTheme" parent="@style/BaseMaterialThemeNoActionBar">
46
        <item name="veryDarkC">@color/veryDarkPink</item>
47
        <item name="darkC">@color/darkPink</item>
48
        <item name="normalC">@color/normalPink</item>
49
        <item name="mediumC">@color/mediumPink</item>
50
        <item name="lightC">@color/lightPink</item>
51
        <item name="passedC">@color/passedPink</item>
52
        <item name="selectC">@color/selectPink</item>
53
   </style>
54

    
55
   <style name="OrangeTheme" parent="@style/BaseMaterialThemeNoActionBar">
56
        <item name="veryDarkC">@color/veryDarkOrange</item>
57
        <item name="darkC">@color/darkOrange</item>
58
        <item name="normalC">@color/normalOrange</item>
59
        <item name="mediumC">@color/mediumOrange</item>
60
        <item name="lightC">@color/lightOrange</item>
61
        <item name="passedC">@color/passedOrange</item>
62
        <item name="selectC">@color/selectOrange</item>
63
   </style>
64

    
65
   <style name="NegativeButtonStyle" parent="Widget.MaterialComponents.Button.TextButton.Dialog">
66
      <item name="android:textColor">@color/white</item>
67
   </style>
68

    
69
   <style name="PositiveButtonStyle" parent="Widget.MaterialComponents.Button.TextButton.Dialog">
70
      <item name="android:textColor">@color/white</item>
71
   </style>
72

    
73
   <style name="ButtonStyleTextColor">
74
      <item name="colorOnPrimary">@color/white</item>
75
      <item name="colorOnSecondary">@color/darkGrey</item>
76
      <item name="colorOnSurface">@color/lightGrey</item>
77
   </style>
78

    
79
</resources>
(4-4/4)