values-v23.xml 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <resources>
  3. <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Menu" parent="android:TextAppearance.Material.Widget.ActionBar.Menu"/>
  4. <style name="Base.TextAppearance.AppCompat.Widget.Button.Inverse" parent="android:TextAppearance.Material.Widget.Button.Inverse"/>
  5. <style name="Base.Theme.AppCompat" parent="Base.V23.Theme.AppCompat"/>
  6. <style name="Base.Theme.AppCompat.Light" parent="Base.V23.Theme.AppCompat.Light"/>
  7. <style name="Base.V23.Theme.AppCompat" parent="Base.V22.Theme.AppCompat">
  8. <!-- We can use the platform styles on API 23+ -->
  9. <item name="ratingBarStyleIndicator">?android:attr/ratingBarStyleIndicator</item>
  10. <item name="ratingBarStyleSmall">?android:attr/ratingBarStyleSmall</item>
  11. <!-- We can use the platform drawable on v23+ -->
  12. <item name="actionBarItemBackground">?android:attr/actionBarItemBackground</item>
  13. <!-- We can use the platform styles on v23+ -->
  14. <item name="actionMenuTextColor">?android:attr/actionMenuTextColor</item>
  15. <item name="actionMenuTextAppearance">?android:attr/actionMenuTextAppearance</item>
  16. <item name="actionOverflowButtonStyle">?android:attr/actionOverflowButtonStyle</item>
  17. <item name="controlBackground">@drawable/abc_control_background_material</item>
  18. </style>
  19. <style name="Base.V23.Theme.AppCompat.Light" parent="Base.V22.Theme.AppCompat.Light">
  20. <!-- We can use the platform styles on API 23+ -->
  21. <item name="ratingBarStyleIndicator">?android:attr/ratingBarStyleIndicator</item>
  22. <item name="ratingBarStyleSmall">?android:attr/ratingBarStyleSmall</item>
  23. <!-- We can use the platform drawable on v23+ -->
  24. <item name="actionBarItemBackground">?android:attr/actionBarItemBackground</item>
  25. <!-- We can use the platform styles on v23+ -->
  26. <item name="actionMenuTextColor">?android:attr/actionMenuTextColor</item>
  27. <item name="actionMenuTextAppearance">?android:attr/actionMenuTextAppearance</item>
  28. <item name="actionOverflowButtonStyle">?android:attr/actionOverflowButtonStyle</item>
  29. <item name="controlBackground">@drawable/abc_control_background_material</item>
  30. </style>
  31. <style name="Base.Widget.AppCompat.ActionButton.Overflow" parent="android:Widget.Material.ActionButton.Overflow"/>
  32. <style name="Base.Widget.AppCompat.Button.Borderless.Colored" parent="android:Widget.Material.Button.Borderless.Colored"/>
  33. <style name="Base.Widget.AppCompat.Button.Colored" parent="android:Widget.Material.Button.Colored"/>
  34. <style name="Base.Widget.AppCompat.EditText" parent="android:Widget.Material.EditText">
  35. <item name="android:hyphenationFrequency">none</item>
  36. <item name="android:breakStrategy">simple</item>
  37. </style>
  38. <style name="Base.Widget.AppCompat.RatingBar.Indicator" parent="android:Widget.Material.RatingBar.Indicator"/>
  39. <style name="Base.Widget.AppCompat.RatingBar.Small" parent="android:Widget.Material.RatingBar.Small"/>
  40. <style name="Base.Widget.AppCompat.Spinner.Underlined" parent="android:Widget.Material.Spinner.Underlined"/>
  41. <style name="Base.Widget.AppCompat.TextView" parent="android:Widget.Material.TextView">
  42. <item name="android:hyphenationFrequency">none</item>
  43. <item name="android:breakStrategy">high_quality</item>
  44. </style>
  45. <style name="CardView" parent="Base.CardView">
  46. <item name="cardBackgroundColor">?android:attr/colorBackgroundFloating</item>
  47. </style>
  48. </resources>