values-v23.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. <item name="android:textAppearance">@style/TextAppearance.AppCompat.Widget.Button.Colored</item>
  35. </style>
  36. <style name="Base.Widget.AppCompat.EditText" parent="android:Widget.Material.EditText">
  37. <item name="android:hyphenationFrequency">none</item>
  38. <item name="android:breakStrategy">simple</item>
  39. </style>
  40. <style name="Base.Widget.AppCompat.RatingBar.Indicator" parent="android:Widget.Material.RatingBar.Indicator"/>
  41. <style name="Base.Widget.AppCompat.RatingBar.Small" parent="android:Widget.Material.RatingBar.Small"/>
  42. <style name="Base.Widget.AppCompat.Spinner.Underlined" parent="android:Widget.Material.Spinner.Underlined"/>
  43. <style name="Base.Widget.AppCompat.TextView" parent="android:Widget.Material.TextView">
  44. <item name="android:hyphenationFrequency">none</item>
  45. <item name="android:breakStrategy">high_quality</item>
  46. </style>
  47. </resources>