Project

General

Profile

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

magiccube / src / main / res / values / styles.xml @ 8c4e4bf4

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
   </style>
23

    
24
   <style name="WhiteTheme" parent="@style/BaseMaterialThemeNoActionBar">
25
        <item name="veryDarkC">@color/veryDarkWhite</item>
26
        <item name="darkC">@color/darkWhite</item>
27
        <item name="normalC">@color/normalWhite</item>
28
        <item name="mediumC">@color/mediumWhite</item>
29
        <item name="lightC">@color/lightWhite</item>
30
        <item name="passedC">@color/passedWhite</item>
31
   </style>
32

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

    
42
   <style name="NegativeButtonStyle" parent="Widget.MaterialComponents.Button.TextButton.Dialog">
43
      <item name="android:textColor">@color/white</item>
44
   </style>
45

    
46
   <style name="PositiveButtonStyle" parent="Widget.MaterialComponents.Button.TextButton.Dialog">
47
      <item name="android:textColor">@color/white</item>
48
   </style>
49

    
50
   <style name="ButtonStyleTextColor">
51
      <item name="colorOnPrimary">@color/normalWhite</item>
52
      <item name="colorOnSecondary">@color/darkGrey</item>
53
      <item name="colorOnSurface">@color/lightGrey</item>
54
   </style>
55

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