values-v23.xml 4.1 KB

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