styles.xml 1.5 KB

1234567891011121314151617181920212223242526272829
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <resources>
  3. <style name="MainTheme" parent="MainTheme.Base">
  4. </style>
  5. <!-- Base theme applied no matter what API -->
  6. <style name="MainTheme.Base" parent="Theme.AppCompat.Light.DarkActionBar">
  7. <!--If you are using revision 22.1 please use just windowNoTitle. Without android:-->
  8. <item name="windowNoTitle">true</item>
  9. <!--We will be using the toolbar so no need to show ActionBar-->
  10. <item name="windowActionBar">false</item>
  11. <!-- Set theme colors from http://www.google.com/design/spec/style/color.html#color-color-palette -->
  12. <!-- colorPrimary is used for the default action bar background -->
  13. <item name="colorPrimary">#2196F3</item>
  14. <!-- colorPrimaryDark is used for the status bar -->
  15. <item name="colorPrimaryDark">#1976D2</item>
  16. <!-- colorAccent is used as the default value for colorControlActivated
  17. which is used to tint widgets -->
  18. <item name="colorAccent">#FF4081</item>
  19. <!-- You can also set colorControlNormal, colorControlActivated
  20. colorControlHighlight and colorSwitchThumbNormal. -->
  21. <item name="windowActionModeOverlay">true</item>
  22. <item name="android:datePickerDialogTheme">@style/AppCompatDialogStyle</item>
  23. <item name="android:textAllCaps">false</item>
  24. </style>
  25. <style name="AppCompatDialogStyle" parent="Theme.AppCompat.Light.Dialog">
  26. <item name="colorAccent">#FF4081</item>
  27. </style>
  28. </resources>