values-v21.xml 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <resources>
  3. <color name="notification_action_color_filter">@color/androidx_core_secondary_text_default_material_light</color>
  4. <dimen name="mtrl_calendar_pre_l_text_clip_padding">0dp</dimen>
  5. <dimen name="mtrl_exposed_dropdown_menu_popup_vertical_offset">1dp</dimen>
  6. <item format="float" name="mtrl_high_ripple_default_alpha" type="dimen">0.48</item>
  7. <item format="float" name="mtrl_high_ripple_focused_alpha" type="dimen">0.48</item>
  8. <item format="float" name="mtrl_high_ripple_hovered_alpha" type="dimen">0.16</item>
  9. <item format="float" name="mtrl_high_ripple_pressed_alpha" type="dimen">0.48</item>
  10. <item format="float" name="mtrl_low_ripple_default_alpha" type="dimen">0.24</item>
  11. <item format="float" name="mtrl_low_ripple_focused_alpha" type="dimen">0.24</item>
  12. <item format="float" name="mtrl_low_ripple_hovered_alpha" type="dimen">0.08</item>
  13. <item format="float" name="mtrl_low_ripple_pressed_alpha" type="dimen">0.24</item>
  14. <dimen name="notification_content_margin_start">0dp</dimen>
  15. <dimen name="notification_main_column_padding_top">0dp</dimen>
  16. <dimen name="notification_media_narrow_margin">12dp</dimen>
  17. <style name="Base.TextAppearance.AppCompat" parent="android:TextAppearance.Material"/>
  18. <style name="Base.TextAppearance.AppCompat.Body1" parent="android:TextAppearance.Material.Body1"/>
  19. <style name="Base.TextAppearance.AppCompat.Body2" parent="android:TextAppearance.Material.Body2"/>
  20. <style name="Base.TextAppearance.AppCompat.Button" parent="android:TextAppearance.Material.Button"/>
  21. <style name="Base.TextAppearance.AppCompat.Caption" parent="android:TextAppearance.Material.Caption"/>
  22. <style name="Base.TextAppearance.AppCompat.Display1" parent="android:TextAppearance.Material.Display1"/>
  23. <style name="Base.TextAppearance.AppCompat.Display2" parent="android:TextAppearance.Material.Display2"/>
  24. <style name="Base.TextAppearance.AppCompat.Display3" parent="android:TextAppearance.Material.Display3"/>
  25. <style name="Base.TextAppearance.AppCompat.Display4" parent="android:TextAppearance.Material.Display4"/>
  26. <style name="Base.TextAppearance.AppCompat.Headline" parent="android:TextAppearance.Material.Headline"/>
  27. <style name="Base.TextAppearance.AppCompat.Inverse" parent="android:TextAppearance.Material.Inverse"/>
  28. <style name="Base.TextAppearance.AppCompat.Large" parent="android:TextAppearance.Material.Large"/>
  29. <style name="Base.TextAppearance.AppCompat.Large.Inverse" parent="android:TextAppearance.Material.Large.Inverse"/>
  30. <style name="Base.TextAppearance.AppCompat.Light.Widget.PopupMenu.Large" parent="android:TextAppearance.Material.Widget.PopupMenu.Large">
  31. </style>
  32. <style name="Base.TextAppearance.AppCompat.Light.Widget.PopupMenu.Small" parent="android:TextAppearance.Material.Widget.PopupMenu.Small">
  33. </style>
  34. <style name="Base.TextAppearance.AppCompat.Medium" parent="android:TextAppearance.Material.Medium"/>
  35. <style name="Base.TextAppearance.AppCompat.Medium.Inverse" parent="android:TextAppearance.Material.Medium.Inverse"/>
  36. <style name="Base.TextAppearance.AppCompat.Menu" parent="android:TextAppearance.Material.Menu"/>
  37. <style name="Base.TextAppearance.AppCompat.SearchResult.Subtitle" parent="android:TextAppearance.Material.SearchResult.Subtitle">
  38. </style>
  39. <style name="Base.TextAppearance.AppCompat.SearchResult.Title" parent="android:TextAppearance.Material.SearchResult.Title">
  40. </style>
  41. <style name="Base.TextAppearance.AppCompat.Small" parent="android:TextAppearance.Material.Small"/>
  42. <style name="Base.TextAppearance.AppCompat.Small.Inverse" parent="android:TextAppearance.Material.Small.Inverse"/>
  43. <style name="Base.TextAppearance.AppCompat.Subhead" parent="android:TextAppearance.Material.Subhead"/>
  44. <style name="Base.TextAppearance.AppCompat.Title" parent="android:TextAppearance.Material.Title"/>
  45. <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Subtitle" parent="android:TextAppearance.Material.Widget.ActionBar.Subtitle">
  46. </style>
  47. <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Subtitle.Inverse" parent="android:TextAppearance.Material.Widget.ActionBar.Subtitle.Inverse">
  48. </style>
  49. <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Title" parent="android:TextAppearance.Material.Widget.ActionBar.Title">
  50. </style>
  51. <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Title.Inverse" parent="android:TextAppearance.Material.Widget.ActionBar.Title.Inverse">
  52. </style>
  53. <style name="Base.TextAppearance.AppCompat.Widget.ActionMode.Subtitle" parent="android:TextAppearance.Material.Widget.ActionMode.Subtitle">
  54. </style>
  55. <style name="Base.TextAppearance.AppCompat.Widget.ActionMode.Title" parent="android:TextAppearance.Material.Widget.ActionMode.Title">
  56. </style>
  57. <style name="Base.TextAppearance.AppCompat.Widget.Button" parent="android:TextAppearance.Material.Widget.Button"/>
  58. <style name="Base.TextAppearance.AppCompat.Widget.PopupMenu.Header" parent="TextAppearance.AppCompat">
  59. <item name="android:fontFamily">sans-serif-medium</item>
  60. <item name="android:textSize">@dimen/abc_text_size_menu_header_material</item>
  61. <item name="android:textColor">?android:attr/textColorSecondary</item>
  62. </style>
  63. <style name="Base.TextAppearance.AppCompat.Widget.PopupMenu.Large" parent="android:TextAppearance.Material.Widget.PopupMenu.Large">
  64. </style>
  65. <style name="Base.TextAppearance.AppCompat.Widget.PopupMenu.Small" parent="android:TextAppearance.Material.Widget.PopupMenu.Small">
  66. </style>
  67. <style name="Base.TextAppearance.AppCompat.Widget.Switch" parent="android:TextAppearance.Material.Button"/>
  68. <style name="Base.TextAppearance.AppCompat.Widget.TextView.SpinnerItem" parent="android:TextAppearance.Material.Widget.TextView.SpinnerItem"/>
  69. <style name="Base.TextAppearance.Widget.AppCompat.Toolbar.Subtitle" parent="android:TextAppearance.Material.Widget.ActionBar.Subtitle">
  70. </style>
  71. <style name="Base.TextAppearance.Widget.AppCompat.Toolbar.Title" parent="android:TextAppearance.Material.Widget.ActionBar.Title">
  72. </style>
  73. <style name="Base.Theme.AppCompat" parent="Base.V21.Theme.AppCompat"/>
  74. <style name="Base.Theme.AppCompat.Dialog" parent="Base.V21.Theme.AppCompat.Dialog"/>
  75. <style name="Base.Theme.AppCompat.Light" parent="Base.V21.Theme.AppCompat.Light"/>
  76. <style name="Base.Theme.AppCompat.Light.Dialog" parent="Base.V21.Theme.AppCompat.Light.Dialog"/>
  77. <style name="Base.ThemeOverlay.AppCompat.Dialog" parent="Base.V21.ThemeOverlay.AppCompat.Dialog"/>
  78. <style name="Base.ThemeOverlay.MaterialComponents.Dialog" parent="Base.V14.ThemeOverlay.MaterialComponents.Dialog">
  79. <item name="android:windowBackground">@drawable/mtrl_dialog_background</item>
  80. </style>
  81. <style name="Base.V21.Theme.AppCompat" parent="Base.V7.Theme.AppCompat">
  82. <!-- Action Bar styling attributes -->
  83. <item name="actionBarSize">?android:attr/actionBarSize</item>
  84. <item name="actionBarDivider">?android:attr/actionBarDivider</item>
  85. <item name="actionBarItemBackground">@drawable/abc_action_bar_item_background_material</item>
  86. <item name="actionButtonStyle">?android:attr/actionButtonStyle</item>
  87. <item name="actionModeBackground">?android:attr/actionModeBackground</item>
  88. <item name="actionModeCloseDrawable">?android:attr/actionModeCloseDrawable</item>
  89. <item name="homeAsUpIndicator">?android:attr/homeAsUpIndicator</item>
  90. <!-- For PopupMenu -->
  91. <item name="listPreferredItemHeightSmall">?android:attr/listPreferredItemHeightSmall</item>
  92. <item name="textAppearanceLargePopupMenu">?android:attr/textAppearanceLargePopupMenu</item>
  93. <item name="textAppearanceSmallPopupMenu">?android:attr/textAppearanceSmallPopupMenu</item>
  94. <!-- General view attributes -->
  95. <item name="selectableItemBackground">?android:attr/selectableItemBackground</item>
  96. <item name="selectableItemBackgroundBorderless">?android:attr/selectableItemBackgroundBorderless</item>
  97. <item name="borderlessButtonStyle">?android:borderlessButtonStyle</item>
  98. <item name="dividerHorizontal">?android:attr/dividerHorizontal</item>
  99. <item name="dividerVertical">?android:attr/dividerVertical</item>
  100. <item name="editTextBackground">@drawable/abc_edit_text_material</item>
  101. <item name="editTextColor">?android:attr/editTextColor</item>
  102. <item name="listChoiceBackgroundIndicator">?android:attr/listChoiceBackgroundIndicator</item>
  103. <!-- Copy the platform default styles for the AppCompat widgets -->
  104. <item name="buttonStyle">?android:attr/buttonStyle</item>
  105. <item name="buttonStyleSmall">?android:attr/buttonStyleSmall</item>
  106. <item name="checkboxStyle">?android:attr/checkboxStyle</item>
  107. <item name="checkedTextViewStyle">?android:attr/checkedTextViewStyle</item>
  108. <item name="radioButtonStyle">?android:attr/radioButtonStyle</item>
  109. <item name="ratingBarStyle">?android:attr/ratingBarStyle</item>
  110. <item name="spinnerStyle">?android:attr/spinnerStyle</item>
  111. <!-- Copy our color theme attributes to the framework -->
  112. <item name="android:colorPrimary">?attr/colorPrimary</item>
  113. <item name="android:colorPrimaryDark">?attr/colorPrimaryDark</item>
  114. <item name="android:colorAccent">?attr/colorAccent</item>
  115. <item name="android:colorControlNormal">?attr/colorControlNormal</item>
  116. <item name="android:colorControlActivated">?attr/colorControlActivated</item>
  117. <item name="android:colorControlHighlight">?attr/colorControlHighlight</item>
  118. <item name="android:colorButtonNormal">?attr/colorButtonNormal</item>
  119. </style>
  120. <style name="Base.V21.Theme.AppCompat.Dialog" parent="Base.V7.Theme.AppCompat.Dialog">
  121. <item name="android:windowElevation">@dimen/abc_floating_window_z</item>
  122. </style>
  123. <style name="Base.V21.Theme.AppCompat.Light" parent="Base.V7.Theme.AppCompat.Light">
  124. <!-- Action Bar styling attributes -->
  125. <item name="actionBarSize">?android:attr/actionBarSize</item>
  126. <item name="actionBarDivider">?android:attr/actionBarDivider</item>
  127. <item name="actionBarItemBackground">@drawable/abc_action_bar_item_background_material</item>
  128. <item name="actionButtonStyle">?android:attr/actionButtonStyle</item>
  129. <item name="actionModeBackground">?android:attr/actionModeBackground</item>
  130. <item name="actionModeCloseDrawable">?android:attr/actionModeCloseDrawable</item>
  131. <item name="homeAsUpIndicator">?android:attr/homeAsUpIndicator</item>
  132. <!-- For PopupMenu -->
  133. <item name="listPreferredItemHeightSmall">?android:attr/listPreferredItemHeightSmall</item>
  134. <item name="textAppearanceLargePopupMenu">?android:attr/textAppearanceLargePopupMenu</item>
  135. <item name="textAppearanceSmallPopupMenu">?android:attr/textAppearanceSmallPopupMenu</item>
  136. <!-- General view attributes -->
  137. <item name="selectableItemBackground">?android:attr/selectableItemBackground</item>
  138. <item name="selectableItemBackgroundBorderless">?android:attr/selectableItemBackgroundBorderless</item>
  139. <item name="borderlessButtonStyle">?android:borderlessButtonStyle</item>
  140. <item name="dividerHorizontal">?android:attr/dividerHorizontal</item>
  141. <item name="dividerVertical">?android:attr/dividerVertical</item>
  142. <item name="editTextBackground">@drawable/abc_edit_text_material</item>
  143. <item name="editTextColor">?android:attr/editTextColor</item>
  144. <item name="listChoiceBackgroundIndicator">?android:attr/listChoiceBackgroundIndicator</item>
  145. <!-- Copy the platform default styles for the AppCompat widgets -->
  146. <item name="buttonStyle">?android:attr/buttonStyle</item>
  147. <item name="buttonStyleSmall">?android:attr/buttonStyleSmall</item>
  148. <item name="checkboxStyle">?android:attr/checkboxStyle</item>
  149. <item name="checkedTextViewStyle">?android:attr/checkedTextViewStyle</item>
  150. <item name="radioButtonStyle">?android:attr/radioButtonStyle</item>
  151. <item name="ratingBarStyle">?android:attr/ratingBarStyle</item>
  152. <item name="spinnerStyle">?android:attr/spinnerStyle</item>
  153. <!-- Copy our color theme attributes to the framework -->
  154. <item name="android:colorPrimary">?attr/colorPrimary</item>
  155. <item name="android:colorPrimaryDark">?attr/colorPrimaryDark</item>
  156. <item name="android:colorAccent">?attr/colorAccent</item>
  157. <item name="android:colorControlNormal">?attr/colorControlNormal</item>
  158. <item name="android:colorControlActivated">?attr/colorControlActivated</item>
  159. <item name="android:colorControlHighlight">?attr/colorControlHighlight</item>
  160. <item name="android:colorButtonNormal">?attr/colorButtonNormal</item>
  161. </style>
  162. <style name="Base.V21.Theme.AppCompat.Light.Dialog" parent="Base.V7.Theme.AppCompat.Light.Dialog">
  163. <item name="android:windowElevation">@dimen/abc_floating_window_z</item>
  164. </style>
  165. <style name="Base.V21.ThemeOverlay.AppCompat.Dialog" parent="Base.V7.ThemeOverlay.AppCompat.Dialog">
  166. <item name="android:windowElevation">@dimen/abc_floating_window_z</item>
  167. </style>
  168. <style name="Base.Widget.AppCompat.ActionBar.TabText" parent="android:Widget.Material.ActionBar.TabText">
  169. </style>
  170. <style name="Base.Widget.AppCompat.ActionBar.TabView" parent="android:Widget.Material.ActionBar.TabView">
  171. </style>
  172. <style name="Base.Widget.AppCompat.ActionButton" parent="android:Widget.Material.ActionButton">
  173. </style>
  174. <style name="Base.Widget.AppCompat.ActionButton.CloseMode" parent="android:Widget.Material.ActionButton.CloseMode">
  175. <item name="android:minWidth">56dp</item>
  176. </style>
  177. <style name="Base.Widget.AppCompat.ActionButton.Overflow" parent="android:Widget.Material.ActionButton.Overflow">
  178. <item name="android:src">@null</item>
  179. <item name="srcCompat">@drawable/abc_ic_menu_overflow_material</item>
  180. </style>
  181. <style name="Base.Widget.AppCompat.AutoCompleteTextView" parent="android:Widget.Material.AutoCompleteTextView">
  182. <item name="android:background">?attr/editTextBackground</item>
  183. </style>
  184. <style name="Base.Widget.AppCompat.Button" parent="android:Widget.Material.Button"/>
  185. <style name="Base.Widget.AppCompat.Button.Borderless" parent="android:Widget.Material.Button.Borderless"/>
  186. <style name="Base.Widget.AppCompat.Button.Borderless.Colored" parent="android:Widget.Material.Button.Borderless.Colored">
  187. <item name="android:textColor">@color/abc_btn_colored_borderless_text_material</item>
  188. </style>
  189. <style name="Base.Widget.AppCompat.Button.Small" parent="android:Widget.Material.Button.Small"/>
  190. <style name="Base.Widget.AppCompat.ButtonBar" parent="android:Widget.Material.ButtonBar"/>
  191. <style name="Base.Widget.AppCompat.CompoundButton.CheckBox" parent="android:Widget.Material.CompoundButton.CheckBox"/>
  192. <style name="Base.Widget.AppCompat.CompoundButton.RadioButton" parent="android:Widget.Material.CompoundButton.RadioButton"/>
  193. <style name="Base.Widget.AppCompat.DropDownItem.Spinner" parent="android:Widget.Material.DropDownItem.Spinner"/>
  194. <style name="Base.Widget.AppCompat.EditText" parent="android:Widget.Material.EditText">
  195. <item name="android:background">?attr/editTextBackground</item>
  196. </style>
  197. <style name="Base.Widget.AppCompat.ImageButton" parent="android:Widget.Material.ImageButton"/>
  198. <style name="Base.Widget.AppCompat.Light.ActionBar.TabText" parent="android:Widget.Material.Light.ActionBar.TabText">
  199. </style>
  200. <style name="Base.Widget.AppCompat.Light.ActionBar.TabText.Inverse" parent="android:Widget.Material.Light.ActionBar.TabText">
  201. </style>
  202. <style name="Base.Widget.AppCompat.Light.ActionBar.TabView" parent="android:Widget.Material.Light.ActionBar.TabView">
  203. </style>
  204. <style name="Base.Widget.AppCompat.Light.PopupMenu" parent="android:Widget.Material.Light.PopupMenu">
  205. </style>
  206. <style name="Base.Widget.AppCompat.Light.PopupMenu.Overflow">
  207. <item name="android:dropDownHorizontalOffset">-4dip</item>
  208. <item name="android:overlapAnchor">true</item>
  209. </style>
  210. <style name="Base.Widget.AppCompat.ListPopupWindow" parent="android:Widget.Material.ListPopupWindow">
  211. </style>
  212. <style name="Base.Widget.AppCompat.ListView" parent="android:Widget.Material.ListView"/>
  213. <style name="Base.Widget.AppCompat.ListView.DropDown" parent="android:Widget.Material.ListView.DropDown"/>
  214. <style name="Base.Widget.AppCompat.ListView.Menu"/>
  215. <style name="Base.Widget.AppCompat.PopupMenu" parent="android:Widget.Material.PopupMenu">
  216. </style>
  217. <style name="Base.Widget.AppCompat.PopupMenu.Overflow">
  218. <item name="android:dropDownHorizontalOffset">-4dip</item>
  219. <item name="android:overlapAnchor">true</item>
  220. </style>
  221. <style name="Base.Widget.AppCompat.ProgressBar" parent="android:Widget.Material.ProgressBar">
  222. </style>
  223. <style name="Base.Widget.AppCompat.ProgressBar.Horizontal" parent="android:Widget.Material.ProgressBar.Horizontal">
  224. </style>
  225. <style name="Base.Widget.AppCompat.RatingBar" parent="android:Widget.Material.RatingBar"/>
  226. <style name="Base.Widget.AppCompat.SeekBar" parent="android:Widget.Material.SeekBar"/>
  227. <style name="Base.Widget.AppCompat.Spinner" parent="android:Widget.Material.Spinner"/>
  228. <style name="Base.Widget.AppCompat.TextView" parent="android:Widget.Material.TextView"/>
  229. <style name="Base.Widget.AppCompat.TextView.SpinnerItem" parent="android:Widget.Material.TextView.SpinnerItem"/>
  230. <style name="Base.Widget.AppCompat.Toolbar.Button.Navigation" parent="android:Widget.Material.Toolbar.Button.Navigation">
  231. </style>
  232. <style name="Base.Widget.MaterialComponents.CheckedTextView" parent="android:Widget.Material.CheckedTextView"/>
  233. <style name="Base.Widget.MaterialComponents.PopupMenu.ContextMenu" parent="Widget.AppCompat.PopupMenu">
  234. <item name="android:overlapAnchor">true</item>
  235. </style>
  236. <style name="Base.Widget.MaterialComponents.PopupMenu.ListPopupWindow" parent="Widget.AppCompat.ListPopupWindow">
  237. <item name="android:popupBackground">?attr/popupMenuBackground</item>
  238. <item name="android:popupElevation">8dp</item>
  239. <item name="android:dropDownVerticalOffset">1dp</item>
  240. </style>
  241. <style name="MaterialAlertDialog.MaterialComponents.Picker.Date.Calendar" parent="android:Widget.DeviceDefault.DatePicker">
  242. <item name="backgroundInsetTop">@dimen/mtrl_alert_dialog_picker_background_inset</item>
  243. <item name="backgroundInsetBottom">@dimen/mtrl_alert_dialog_picker_background_inset</item>
  244. <item name="shapeAppearance">?attr/shapeAppearanceMediumComponent</item>
  245. <item name="android:datePickerMode">calendar</item>
  246. <item name="android:calendarTextColor">?attr/colorOnSurface</item>
  247. <item name="android:headerBackground">?attr/colorPrimary</item>
  248. <item name="android:headerMonthTextAppearance">@style/ThemeOverlay.MaterialComponents.MaterialAlertDialog.Picker.Date.Header.Text</item>
  249. <item name="android:headerDayOfMonthTextAppearance">@style/ThemeOverlay.MaterialComponents.MaterialAlertDialog.Picker.Date.Header.Text.Day</item>
  250. <item name="android:headerYearTextAppearance">@style/ThemeOverlay.MaterialComponents.MaterialAlertDialog.Picker.Date.Header.Text</item>
  251. </style>
  252. <style name="MaterialAlertDialog.MaterialComponents.Picker.Date.Spinner" parent="android:Widget.DeviceDefault.DatePicker">
  253. <item name="backgroundInsetTop">@dimen/mtrl_alert_dialog_picker_background_inset</item>
  254. <item name="backgroundInsetBottom">@dimen/mtrl_alert_dialog_picker_background_inset</item>
  255. <item name="shapeAppearance">?attr/shapeAppearanceMediumComponent</item>
  256. <item name="android:datePickerMode">spinner</item>
  257. </style>
  258. <style name="Platform.AppCompat" parent="Platform.V21.AppCompat"/>
  259. <style name="Platform.AppCompat.Light" parent="Platform.V21.AppCompat.Light"/>
  260. <style name="Platform.ThemeOverlay.AppCompat" parent="">
  261. <!-- Copy our color theme attributes to the framework -->
  262. <item name="android:colorPrimary">?attr/colorPrimary</item>
  263. <item name="android:colorPrimaryDark">?attr/colorPrimaryDark</item>
  264. <item name="android:colorAccent">?attr/colorAccent</item>
  265. <item name="android:colorControlNormal">?attr/colorControlNormal</item>
  266. <item name="android:colorControlActivated">?attr/colorControlActivated</item>
  267. <item name="android:colorControlHighlight">?attr/colorControlHighlight</item>
  268. <item name="android:colorButtonNormal">?attr/colorButtonNormal</item>
  269. </style>
  270. <style name="Platform.ThemeOverlay.AppCompat.Dark"/>
  271. <style name="Platform.ThemeOverlay.AppCompat.Light"/>
  272. <style name="Platform.V21.AppCompat" parent="android:Theme.Material.NoActionBar">
  273. <!-- Update link colors pre-v23 -->
  274. <item name="android:textColorLink">?android:attr/colorAccent</item>
  275. <item name="android:textColorLinkInverse">?android:attr/colorAccent</item>
  276. <!-- Update hint colors pre-v25 -->
  277. <item name="android:textColorHint">@color/abc_hint_foreground_material_dark</item>
  278. <item name="android:textColorHintInverse">@color/abc_hint_foreground_material_light</item>
  279. <item name="android:buttonBarStyle">?attr/buttonBarStyle</item>
  280. <item name="android:buttonBarButtonStyle">?attr/buttonBarButtonStyle</item>
  281. </style>
  282. <style name="Platform.V21.AppCompat.Light" parent="android:Theme.Material.Light.NoActionBar">
  283. <!-- Update link colors pre-v23 -->
  284. <item name="android:textColorLink">?android:attr/colorAccent</item>
  285. <item name="android:textColorLinkInverse">?android:attr/colorAccent</item>
  286. <!-- Update hint colors pre-v25 -->
  287. <item name="android:textColorHint">@color/abc_hint_foreground_material_light</item>
  288. <item name="android:textColorHintInverse">@color/abc_hint_foreground_material_dark</item>
  289. <item name="android:buttonBarStyle">?attr/buttonBarStyle</item>
  290. <item name="android:buttonBarButtonStyle">?attr/buttonBarButtonStyle</item>
  291. </style>
  292. <style name="TextAppearance.Compat.Notification" parent="@android:style/TextAppearance.Material.Notification"/>
  293. <style name="TextAppearance.Compat.Notification.Info" parent="@android:style/TextAppearance.Material.Notification.Info"/>
  294. <style name="TextAppearance.Compat.Notification.Time" parent="@android:style/TextAppearance.Material.Notification.Time"/>
  295. <style name="TextAppearance.Compat.Notification.Title" parent="@android:style/TextAppearance.Material.Notification.Title"/>
  296. <style name="TextAppearance.MaterialComponents.Badge" parent="Base.TextAppearance.MaterialComponents.Badge">
  297. <!-- Roboto Medium was added in this api level -->
  298. <item name="fontFamily">sans-serif-medium</item>
  299. <item name="android:fontFamily">sans-serif-medium</item>
  300. <item name="android:textStyle">normal</item>
  301. </style>
  302. <style name="TextAppearance.MaterialComponents.Button" parent="Base.TextAppearance.MaterialComponents.Button">
  303. <!-- Roboto Medium was added in this api level -->
  304. <item name="fontFamily">sans-serif-medium</item>
  305. <item name="android:fontFamily">sans-serif-medium</item>
  306. <item name="android:textStyle">normal</item>
  307. </style>
  308. <style name="TextAppearance.MaterialComponents.Headline6" parent="Base.TextAppearance.MaterialComponents.Headline6">
  309. <!-- Roboto Medium was added in this api level -->
  310. <item name="fontFamily">sans-serif-medium</item>
  311. <item name="android:fontFamily">sans-serif-medium</item>
  312. <item name="android:textStyle">normal</item>
  313. </style>
  314. <style name="TextAppearance.MaterialComponents.Subtitle2" parent="Base.TextAppearance.MaterialComponents.Subtitle2">
  315. <!-- Roboto Medium was added in this api level -->
  316. <item name="fontFamily">sans-serif-medium</item>
  317. <item name="android:fontFamily">sans-serif-medium</item>
  318. <item name="android:textStyle">normal</item>
  319. </style>
  320. <style name="ThemeOverlay.MaterialComponents.MaterialAlertDialog.Picker.Date" parent="ThemeOverlay.MaterialComponents.MaterialAlertDialog">
  321. <item name="android:buttonBarPositiveButtonStyle">@style/Widget.MaterialComponents.Button.TextButton.Dialog</item>
  322. <item name="android:buttonBarNegativeButtonStyle">@style/Widget.MaterialComponents.Button.TextButton.Dialog</item>
  323. </style>
  324. <style name="ThemeOverlay.MaterialComponents.MaterialAlertDialog.Picker.Date.Calendar">
  325. <item name="android:datePickerStyle">@style/MaterialAlertDialog.MaterialComponents.Picker.Date.Calendar</item>
  326. </style>
  327. <style name="ThemeOverlay.MaterialComponents.MaterialAlertDialog.Picker.Date.Header.Text" parent="TextAppearance.MaterialComponents.Headline6">
  328. <item name="android:textColor">?attr/colorOnPrimary</item>
  329. </style>
  330. <style name="ThemeOverlay.MaterialComponents.MaterialAlertDialog.Picker.Date.Header.Text.Day" parent="TextAppearance.MaterialComponents.Headline1">
  331. <item name="android:textColor">?attr/colorOnPrimary</item>
  332. </style>
  333. <style name="ThemeOverlay.MaterialComponents.MaterialAlertDialog.Picker.Date.Spinner">
  334. <item name="android:datePickerStyle">@style/MaterialAlertDialog.MaterialComponents.Picker.Date.Spinner</item>
  335. </style>
  336. <style name="Widget.Compat.NotificationActionContainer" parent="">
  337. <item name="android:background">@drawable/notification_action_background</item>
  338. </style>
  339. <style name="Widget.Compat.NotificationActionText" parent="">
  340. <item name="android:textAppearance">?android:attr/textAppearanceButton</item>
  341. <item name="android:textColor">@color/androidx_core_secondary_text_default_material_light</item>
  342. <item name="android:textSize">@dimen/notification_action_text_size</item>
  343. </style>
  344. <style name="Widget.MaterialComponents.PopupMenu" parent="Base.Widget.MaterialComponents.PopupMenu">
  345. <item name="android:popupBackground">?attr/popupMenuBackground</item>
  346. <item name="android:popupElevation">8dp</item>
  347. </style>
  348. <style name="Widget.MaterialComponents.PopupMenu.Overflow" parent="Base.Widget.MaterialComponents.PopupMenu.Overflow">
  349. <item name="android:popupBackground">?attr/popupMenuBackground</item>
  350. <item name="android:popupElevation">8dp</item>
  351. </style>
  352. </resources>