Project

General

Profile

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

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

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="WhiteTheme" parent="@style/BaseMaterialThemeNoActionBar">
26
        <item name="veryDarkC">@color/veryDarkWhite</item>
27
        <item name="darkC">@color/darkWhite</item>
28
        <item name="normalC">@color/normalWhite</item>
29
        <item name="mediumC">@color/mediumWhite</item>
30
        <item name="lightC">@color/lightWhite</item>
31
        <item name="passedC">@color/passedWhite</item>
32
        <item name="selectC">@color/selectWhite</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="NegativeButtonStyle" parent="Widget.MaterialComponents.Button.TextButton.Dialog">
46
      <item name="android:textColor">@color/white</item>
47
   </style>
48

    
49
   <style name="PositiveButtonStyle" parent="Widget.MaterialComponents.Button.TextButton.Dialog">
50
      <item name="android:textColor">@color/white</item>
51
   </style>
52

    
53
   <style name="ButtonStyleTextColor">
54
      <item name="colorOnPrimary">@color/normalWhite</item>
55
      <item name="colorOnSecondary">@color/darkGrey</item>
56
      <item name="colorOnSurface">@color/lightGrey</item>
57
   </style>
58

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