values-v23.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. <style name="Widget.MaterialComponents.PopupMenu.ContextMenu" parent="Base.Widget.MaterialComponents.PopupMenu.ContextMenu">
  49. <item name="android:popupBackground">?attr/popupMenuBackground</item>
  50. <item name="android:popupElevation">8dp</item>
  51. </style>
  52. <style name="Widget.MaterialComponents.PopupMenu.ListPopupWindow" parent="Base.Widget.MaterialComponents.PopupMenu.ListPopupWindow">
  53. <item name="android:popupBackground">?attr/popupMenuBackground</item>
  54. <item name="android:popupElevation">8dp</item>
  55. </style>
  56. </resources>