Project

General

Profile

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

magiccube / src / main / res / values / styles.xml @ 236cc1c1

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="darkBackground">@color/dark_grey</item>
17
        <item name="lightBackground">@color/grey</item>
18
   </style>
19

    
20
   <style name="WhiteTheme" parent="@style/BaseMaterialThemeNoActionBar">
21
        <item name="darkBackground">@color/dark_white</item>
22
        <item name="lightBackground">@color/white</item>
23
   </style>
24

    
25
   <style name="GreenTheme" parent="@style/BaseMaterialThemeNoActionBar">
26
        <item name="darkBackground">@color/dark_green</item>
27
        <item name="lightBackground">@color/green</item>
28
   </style>
29

    
30
   <style name="NegativeButtonStyle" parent="Widget.MaterialComponents.Button.TextButton.Dialog">
31
      <item name="android:textColor">#ffffff</item>
32
   </style>
33

    
34
   <style name="PositiveButtonStyle" parent="Widget.MaterialComponents.Button.TextButton.Dialog">
35
      <item name="android:textColor">#ffffff</item>
36
   </style>
37

    
38
   <style name="ButtonStyleTextColor">
39
      <item name="colorOnPrimary">@color/white</item>
40
      <item name="colorOnSecondary">@color/dark_grey</item>
41
      <item name="colorOnSurface">@color/light_grey</item>
42
   </style>
43

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