Project

General

Profile

« Previous | Next » 

Revision 2456eaa0

Added by Leszek Koltunski 7 months ago

Improve the spinners; more themes.

View differences:

src/main/res/values/styles.xml
22 22
        <item name="selectC">@color/selectGrey</item>
23 23
   </style>
24 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>
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 33
   </style>
34 34

  
35 35
   <style name="GreenTheme" parent="@style/BaseMaterialThemeNoActionBar">
......
42 42
        <item name="selectC">@color/selectGreen</item>
43 43
   </style>
44 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

  
45 65
   <style name="NegativeButtonStyle" parent="Widget.MaterialComponents.Button.TextButton.Dialog">
46 66
      <item name="android:textColor">@color/white</item>
47 67
   </style>
......
51 71
   </style>
52 72

  
53 73
   <style name="ButtonStyleTextColor">
54
      <item name="colorOnPrimary">@color/normalWhite</item>
74
      <item name="colorOnPrimary">@color/white</item>
55 75
      <item name="colorOnSecondary">@color/darkGrey</item>
56 76
      <item name="colorOnSurface">@color/lightGrey</item>
57 77
   </style>

Also available in: Unified diff