values-v23.xml 6.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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="ThemeOverlay.Material3.AutoCompleteTextView" parent="Base.ThemeOverlay.Material3.AutoCompleteTextView">
  51. <item name="colorControlNormal">@color/m3_textfield_indicator_text_color</item>
  52. </style>
  53. <style name="ThemeOverlay.Material3.TextInputEditText" parent="Base.ThemeOverlay.Material3.TextInputEditText">
  54. <item name="colorControlNormal">@color/m3_textfield_indicator_text_color</item>
  55. </style>
  56. <style name="Widget.Material3.ActionBar.Solid" parent="Base.Widget.Material3.ActionBar.Solid">
  57. <item name="background">@drawable/m3_appbar_background</item>
  58. <item name="backgroundStacked">@drawable/m3_appbar_background</item>
  59. <item name="backgroundSplit">@drawable/m3_appbar_background</item>
  60. </style>
  61. <style name="Widget.Material3.ActionMode" parent="Base.Widget.Material3.ActionMode">
  62. <item name="background">@drawable/m3_appbar_background</item>
  63. <item name="backgroundSplit">@drawable/m3_appbar_background</item>
  64. </style>
  65. <style name="Widget.Material3.CompoundButton.CheckBox" parent="Base.Widget.Material3.CompoundButton.CheckBox">
  66. <item name="android:background">@drawable/m3_selection_control_ripple</item>
  67. </style>
  68. <style name="Widget.Material3.CompoundButton.RadioButton" parent="Base.Widget.Material3.CompoundButton.RadioButton">
  69. <item name="android:background">@drawable/m3_radiobutton_ripple</item>
  70. </style>
  71. <style name="Widget.Material3.CompoundButton.Switch" parent="Base.Widget.Material3.CompoundButton.Switch">
  72. <item name="android:background">@drawable/m3_selection_control_ripple</item>
  73. </style>
  74. <style name="Widget.Material3.Light.ActionBar.Solid" parent="Base.Widget.Material3.Light.ActionBar.Solid">
  75. <item name="background">@drawable/m3_appbar_background</item>
  76. <item name="backgroundStacked">@drawable/m3_appbar_background</item>
  77. <item name="backgroundSplit">@drawable/m3_appbar_background</item>
  78. </style>
  79. <style name="Widget.Material3.TabLayout.OnSurface" parent="Base.Widget.Material3.TabLayout.OnSurface">
  80. <item name="android:background">@drawable/m3_tabs_transparent_background</item>
  81. </style>
  82. <style name="Widget.MaterialComponents.PopupMenu.ContextMenu" parent="Base.Widget.MaterialComponents.PopupMenu.ContextMenu">
  83. <item name="android:popupBackground">?attr/popupMenuBackground</item>
  84. <item name="android:popupElevation">8dp</item>
  85. </style>
  86. <style name="Widget.MaterialComponents.PopupMenu.ListPopupWindow" parent="Base.Widget.MaterialComponents.PopupMenu.ListPopupWindow">
  87. <item name="android:popupBackground">?attr/popupMenuBackground</item>
  88. <item name="android:popupElevation">8dp</item>
  89. </style>
  90. </resources>