Project

General

Profile

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

magiccube / src / main / res / values / styles.xml @ 05f6d7bd

1
<resources>
2

    
3
    <!-- Base application theme. -->
4
    <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
5
        <!-- Customize your theme here. -->
6
        <item name="colorPrimary">@color/colorPrimary</item>
7
        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
8
        <item name="colorAccent">@color/colorAccent</item>
9
    </style>
10

    
11
    <style name="CustomActivityThemeNoActionBar" parent="@style/Theme.AppCompat.NoActionBar">
12
        <item name="android:windowNoTitle">true</item>
13
        <item name="android:windowActionBar">false</item>
14
        <item name="android:windowFullscreen">true</item>
15
        <item name="android:windowContentOverlay">@null</item>
16
    </style>
17

    
18
   <style name="MaterialThemeNoActionBar" parent="@style/Theme.MaterialComponents.NoActionBar">
19
        <item name="tabBackground">@drawable/tab_background</item>
20
        <item name="tabIndicatorHeight">0dp</item>
21
        <item name="android:windowNoTitle">true</item>
22
        <item name="android:windowActionBar">false</item>
23
        <item name="android:windowFullscreen">true</item>
24
        <item name="android:windowContentOverlay">@null</item>
25
        <item name="materialThemeOverlay">@style/ButtonStyleTextColor</item>
26
        <item name="buttonBarNegativeButtonStyle">@style/NegativeButtonStyle</item>
27
        <item name="buttonBarPositiveButtonStyle">@style/PositiveButtonStyle</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>
(3-3/3)