values-v21.xml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  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="notification_content_margin_start">0dp</dimen>
  5. <dimen name="notification_main_column_padding_top">0dp</dimen>
  6. <dimen name="notification_media_narrow_margin">12dp</dimen>
  7. <style name="Base.TextAppearance.AppCompat" parent="android:TextAppearance.Material"/>
  8. <style name="Base.TextAppearance.AppCompat.Body1" parent="android:TextAppearance.Material.Body1"/>
  9. <style name="Base.TextAppearance.AppCompat.Body2" parent="android:TextAppearance.Material.Body2"/>
  10. <style name="Base.TextAppearance.AppCompat.Button" parent="android:TextAppearance.Material.Button"/>
  11. <style name="Base.TextAppearance.AppCompat.Caption" parent="android:TextAppearance.Material.Caption"/>
  12. <style name="Base.TextAppearance.AppCompat.Display1" parent="android:TextAppearance.Material.Display1"/>
  13. <style name="Base.TextAppearance.AppCompat.Display2" parent="android:TextAppearance.Material.Display2"/>
  14. <style name="Base.TextAppearance.AppCompat.Display3" parent="android:TextAppearance.Material.Display3"/>
  15. <style name="Base.TextAppearance.AppCompat.Display4" parent="android:TextAppearance.Material.Display4"/>
  16. <style name="Base.TextAppearance.AppCompat.Headline" parent="android:TextAppearance.Material.Headline"/>
  17. <style name="Base.TextAppearance.AppCompat.Inverse" parent="android:TextAppearance.Material.Inverse"/>
  18. <style name="Base.TextAppearance.AppCompat.Large" parent="android:TextAppearance.Material.Large"/>
  19. <style name="Base.TextAppearance.AppCompat.Large.Inverse" parent="android:TextAppearance.Material.Large.Inverse"/>
  20. <style name="Base.TextAppearance.AppCompat.Light.Widget.PopupMenu.Large" parent="android:TextAppearance.Material.Widget.PopupMenu.Large">
  21. </style>
  22. <style name="Base.TextAppearance.AppCompat.Light.Widget.PopupMenu.Small" parent="android:TextAppearance.Material.Widget.PopupMenu.Small">
  23. </style>
  24. <style name="Base.TextAppearance.AppCompat.Medium" parent="android:TextAppearance.Material.Medium"/>
  25. <style name="Base.TextAppearance.AppCompat.Medium.Inverse" parent="android:TextAppearance.Material.Medium.Inverse"/>
  26. <style name="Base.TextAppearance.AppCompat.Menu" parent="android:TextAppearance.Material.Menu"/>
  27. <style name="Base.TextAppearance.AppCompat.SearchResult.Subtitle" parent="android:TextAppearance.Material.SearchResult.Subtitle">
  28. </style>
  29. <style name="Base.TextAppearance.AppCompat.SearchResult.Title" parent="android:TextAppearance.Material.SearchResult.Title">
  30. </style>
  31. <style name="Base.TextAppearance.AppCompat.Small" parent="android:TextAppearance.Material.Small"/>
  32. <style name="Base.TextAppearance.AppCompat.Small.Inverse" parent="android:TextAppearance.Material.Small.Inverse"/>
  33. <style name="Base.TextAppearance.AppCompat.Subhead" parent="android:TextAppearance.Material.Subhead"/>
  34. <style name="Base.TextAppearance.AppCompat.Title" parent="android:TextAppearance.Material.Title"/>
  35. <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Subtitle" parent="android:TextAppearance.Material.Widget.ActionBar.Subtitle">
  36. </style>
  37. <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Subtitle.Inverse" parent="android:TextAppearance.Material.Widget.ActionBar.Subtitle.Inverse">
  38. </style>
  39. <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Title" parent="android:TextAppearance.Material.Widget.ActionBar.Title">
  40. </style>
  41. <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Title.Inverse" parent="android:TextAppearance.Material.Widget.ActionBar.Title.Inverse">
  42. </style>
  43. <style name="Base.TextAppearance.AppCompat.Widget.ActionMode.Subtitle" parent="android:TextAppearance.Material.Widget.ActionMode.Subtitle">
  44. </style>
  45. <style name="Base.TextAppearance.AppCompat.Widget.ActionMode.Title" parent="android:TextAppearance.Material.Widget.ActionMode.Title">
  46. </style>
  47. <style name="Base.TextAppearance.AppCompat.Widget.Button" parent="android:TextAppearance.Material.Widget.Button"/>
  48. <style name="Base.TextAppearance.AppCompat.Widget.PopupMenu.Header" parent="TextAppearance.AppCompat">
  49. <item name="android:fontFamily">sans-serif-medium</item>
  50. <item name="android:textSize">@dimen/abc_text_size_menu_header_material</item>
  51. <item name="android:textColor">?android:attr/textColorSecondary</item>
  52. </style>
  53. <style name="Base.TextAppearance.AppCompat.Widget.PopupMenu.Large" parent="android:TextAppearance.Material.Widget.PopupMenu.Large">
  54. </style>
  55. <style name="Base.TextAppearance.AppCompat.Widget.PopupMenu.Small" parent="android:TextAppearance.Material.Widget.PopupMenu.Small">
  56. </style>
  57. <style name="Base.TextAppearance.AppCompat.Widget.Switch" parent="android:TextAppearance.Material.Button"/>
  58. <style name="Base.TextAppearance.AppCompat.Widget.TextView.SpinnerItem" parent="android:TextAppearance.Material.Widget.TextView.SpinnerItem"/>
  59. <style name="Base.TextAppearance.Widget.AppCompat.Toolbar.Subtitle" parent="android:TextAppearance.Material.Widget.ActionBar.Subtitle">
  60. </style>
  61. <style name="Base.TextAppearance.Widget.AppCompat.Toolbar.Title" parent="android:TextAppearance.Material.Widget.ActionBar.Title">
  62. </style>
  63. <style name="Base.Theme.AppCompat" parent="Base.V21.Theme.AppCompat"/>
  64. <style name="Base.Theme.AppCompat.Dialog" parent="Base.V21.Theme.AppCompat.Dialog"/>
  65. <style name="Base.Theme.AppCompat.Light" parent="Base.V21.Theme.AppCompat.Light"/>
  66. <style name="Base.Theme.AppCompat.Light.Dialog" parent="Base.V21.Theme.AppCompat.Light.Dialog"/>
  67. <style name="Base.ThemeOverlay.AppCompat.Dialog" parent="Base.V21.ThemeOverlay.AppCompat.Dialog"/>
  68. <style name="Base.V21.Theme.AppCompat" parent="Base.V7.Theme.AppCompat">
  69. <!-- Action Bar styling attributes -->
  70. <item name="actionBarSize">?android:attr/actionBarSize</item>
  71. <item name="actionBarDivider">?android:attr/actionBarDivider</item>
  72. <item name="actionBarItemBackground">@drawable/abc_action_bar_item_background_material</item>
  73. <item name="actionButtonStyle">?android:attr/actionButtonStyle</item>
  74. <item name="actionModeBackground">?android:attr/actionModeBackground</item>
  75. <item name="actionModeCloseDrawable">?android:attr/actionModeCloseDrawable</item>
  76. <item name="homeAsUpIndicator">?android:attr/homeAsUpIndicator</item>
  77. <!-- For PopupMenu -->
  78. <item name="listPreferredItemHeightSmall">?android:attr/listPreferredItemHeightSmall</item>
  79. <item name="textAppearanceLargePopupMenu">?android:attr/textAppearanceLargePopupMenu</item>
  80. <item name="textAppearanceSmallPopupMenu">?android:attr/textAppearanceSmallPopupMenu</item>
  81. <!-- General view attributes -->
  82. <item name="selectableItemBackground">?android:attr/selectableItemBackground</item>
  83. <item name="selectableItemBackgroundBorderless">?android:attr/selectableItemBackgroundBorderless</item>
  84. <item name="borderlessButtonStyle">?android:borderlessButtonStyle</item>
  85. <item name="dividerHorizontal">?android:attr/dividerHorizontal</item>
  86. <item name="dividerVertical">?android:attr/dividerVertical</item>
  87. <item name="editTextBackground">@drawable/abc_edit_text_material</item>
  88. <item name="editTextColor">?android:attr/editTextColor</item>
  89. <item name="listChoiceBackgroundIndicator">?android:attr/listChoiceBackgroundIndicator</item>
  90. <!-- Copy the platform default styles for the AppCompat widgets -->
  91. <item name="buttonStyle">?android:attr/buttonStyle</item>
  92. <item name="buttonStyleSmall">?android:attr/buttonStyleSmall</item>
  93. <item name="checkboxStyle">?android:attr/checkboxStyle</item>
  94. <item name="checkedTextViewStyle">?android:attr/checkedTextViewStyle</item>
  95. <item name="radioButtonStyle">?android:attr/radioButtonStyle</item>
  96. <item name="ratingBarStyle">?android:attr/ratingBarStyle</item>
  97. <item name="spinnerStyle">?android:attr/spinnerStyle</item>
  98. <!-- Copy our color theme attributes to the framework -->
  99. <item name="android:colorPrimary">?attr/colorPrimary</item>
  100. <item name="android:colorPrimaryDark">?attr/colorPrimaryDark</item>
  101. <item name="android:colorAccent">?attr/colorAccent</item>
  102. <item name="android:colorControlNormal">?attr/colorControlNormal</item>
  103. <item name="android:colorControlActivated">?attr/colorControlActivated</item>
  104. <item name="android:colorControlHighlight">?attr/colorControlHighlight</item>
  105. <item name="android:colorButtonNormal">?attr/colorButtonNormal</item>
  106. </style>
  107. <style name="Base.V21.Theme.AppCompat.Dialog" parent="Base.V7.Theme.AppCompat.Dialog">
  108. <item name="android:windowElevation">@dimen/abc_floating_window_z</item>
  109. </style>
  110. <style name="Base.V21.Theme.AppCompat.Light" parent="Base.V7.Theme.AppCompat.Light">
  111. <!-- Action Bar styling attributes -->
  112. <item name="actionBarSize">?android:attr/actionBarSize</item>
  113. <item name="actionBarDivider">?android:attr/actionBarDivider</item>
  114. <item name="actionBarItemBackground">@drawable/abc_action_bar_item_background_material</item>
  115. <item name="actionButtonStyle">?android:attr/actionButtonStyle</item>
  116. <item name="actionModeBackground">?android:attr/actionModeBackground</item>
  117. <item name="actionModeCloseDrawable">?android:attr/actionModeCloseDrawable</item>
  118. <item name="homeAsUpIndicator">?android:attr/homeAsUpIndicator</item>
  119. <!-- For PopupMenu -->
  120. <item name="listPreferredItemHeightSmall">?android:attr/listPreferredItemHeightSmall</item>
  121. <item name="textAppearanceLargePopupMenu">?android:attr/textAppearanceLargePopupMenu</item>
  122. <item name="textAppearanceSmallPopupMenu">?android:attr/textAppearanceSmallPopupMenu</item>
  123. <!-- General view attributes -->
  124. <item name="selectableItemBackground">?android:attr/selectableItemBackground</item>
  125. <item name="selectableItemBackgroundBorderless">?android:attr/selectableItemBackgroundBorderless</item>
  126. <item name="borderlessButtonStyle">?android:borderlessButtonStyle</item>
  127. <item name="dividerHorizontal">?android:attr/dividerHorizontal</item>
  128. <item name="dividerVertical">?android:attr/dividerVertical</item>
  129. <item name="editTextBackground">@drawable/abc_edit_text_material</item>
  130. <item name="editTextColor">?android:attr/editTextColor</item>
  131. <item name="listChoiceBackgroundIndicator">?android:attr/listChoiceBackgroundIndicator</item>
  132. <!-- Copy the platform default styles for the AppCompat widgets -->
  133. <item name="buttonStyle">?android:attr/buttonStyle</item>
  134. <item name="buttonStyleSmall">?android:attr/buttonStyleSmall</item>
  135. <item name="checkboxStyle">?android:attr/checkboxStyle</item>
  136. <item name="checkedTextViewStyle">?android:attr/checkedTextViewStyle</item>
  137. <item name="radioButtonStyle">?android:attr/radioButtonStyle</item>
  138. <item name="ratingBarStyle">?android:attr/ratingBarStyle</item>
  139. <item name="spinnerStyle">?android:attr/spinnerStyle</item>
  140. <!-- Copy our color theme attributes to the framework -->
  141. <item name="android:colorPrimary">?attr/colorPrimary</item>
  142. <item name="android:colorPrimaryDark">?attr/colorPrimaryDark</item>
  143. <item name="android:colorAccent">?attr/colorAccent</item>
  144. <item name="android:colorControlNormal">?attr/colorControlNormal</item>
  145. <item name="android:colorControlActivated">?attr/colorControlActivated</item>
  146. <item name="android:colorControlHighlight">?attr/colorControlHighlight</item>
  147. <item name="android:colorButtonNormal">?attr/colorButtonNormal</item>
  148. </style>
  149. <style name="Base.V21.Theme.AppCompat.Light.Dialog" parent="Base.V7.Theme.AppCompat.Light.Dialog">
  150. <item name="android:windowElevation">@dimen/abc_floating_window_z</item>
  151. </style>
  152. <style name="Base.V21.ThemeOverlay.AppCompat.Dialog" parent="Base.V7.ThemeOverlay.AppCompat.Dialog">
  153. <item name="android:windowElevation">@dimen/abc_floating_window_z</item>
  154. </style>
  155. <style name="Base.Widget.AppCompat.ActionBar.TabText" parent="android:Widget.Material.ActionBar.TabText">
  156. </style>
  157. <style name="Base.Widget.AppCompat.ActionBar.TabView" parent="android:Widget.Material.ActionBar.TabView">
  158. </style>
  159. <style name="Base.Widget.AppCompat.ActionButton" parent="android:Widget.Material.ActionButton">
  160. </style>
  161. <style name="Base.Widget.AppCompat.ActionButton.CloseMode" parent="android:Widget.Material.ActionButton.CloseMode">
  162. <item name="android:minWidth">56dp</item>
  163. </style>
  164. <style name="Base.Widget.AppCompat.ActionButton.Overflow" parent="android:Widget.Material.ActionButton.Overflow">
  165. <item name="android:src">@null</item>
  166. <item name="srcCompat">@drawable/abc_ic_menu_overflow_material</item>
  167. </style>
  168. <style name="Base.Widget.AppCompat.AutoCompleteTextView" parent="android:Widget.Material.AutoCompleteTextView">
  169. <item name="android:background">?attr/editTextBackground</item>
  170. </style>
  171. <style name="Base.Widget.AppCompat.Button" parent="android:Widget.Material.Button"/>
  172. <style name="Base.Widget.AppCompat.Button.Borderless" parent="android:Widget.Material.Button.Borderless"/>
  173. <style name="Base.Widget.AppCompat.Button.Borderless.Colored" parent="android:Widget.Material.Button.Borderless.Colored">
  174. <item name="android:textColor">@color/abc_btn_colored_borderless_text_material</item>
  175. </style>
  176. <style name="Base.Widget.AppCompat.Button.Small" parent="android:Widget.Material.Button.Small"/>
  177. <style name="Base.Widget.AppCompat.ButtonBar" parent="android:Widget.Material.ButtonBar"/>
  178. <style name="Base.Widget.AppCompat.CompoundButton.CheckBox" parent="android:Widget.Material.CompoundButton.CheckBox"/>
  179. <style name="Base.Widget.AppCompat.CompoundButton.RadioButton" parent="android:Widget.Material.CompoundButton.RadioButton"/>
  180. <style name="Base.Widget.AppCompat.DropDownItem.Spinner" parent="android:Widget.Material.DropDownItem.Spinner"/>
  181. <style name="Base.Widget.AppCompat.EditText" parent="android:Widget.Material.EditText">
  182. <item name="android:background">?attr/editTextBackground</item>
  183. </style>
  184. <style name="Base.Widget.AppCompat.ImageButton" parent="android:Widget.Material.ImageButton"/>
  185. <style name="Base.Widget.AppCompat.Light.ActionBar.TabText" parent="android:Widget.Material.Light.ActionBar.TabText">
  186. </style>
  187. <style name="Base.Widget.AppCompat.Light.ActionBar.TabText.Inverse" parent="android:Widget.Material.Light.ActionBar.TabText">
  188. </style>
  189. <style name="Base.Widget.AppCompat.Light.ActionBar.TabView" parent="android:Widget.Material.Light.ActionBar.TabView">
  190. </style>
  191. <style name="Base.Widget.AppCompat.Light.PopupMenu" parent="android:Widget.Material.Light.PopupMenu">
  192. </style>
  193. <style name="Base.Widget.AppCompat.Light.PopupMenu.Overflow">
  194. <item name="android:dropDownHorizontalOffset">-4dip</item>
  195. <item name="android:overlapAnchor">true</item>
  196. </style>
  197. <style name="Base.Widget.AppCompat.ListPopupWindow" parent="android:Widget.Material.ListPopupWindow">
  198. </style>
  199. <style name="Base.Widget.AppCompat.ListView" parent="android:Widget.Material.ListView"/>
  200. <style name="Base.Widget.AppCompat.ListView.DropDown" parent="android:Widget.Material.ListView.DropDown"/>
  201. <style name="Base.Widget.AppCompat.ListView.Menu"/>
  202. <style name="Base.Widget.AppCompat.PopupMenu" parent="android:Widget.Material.PopupMenu">
  203. </style>
  204. <style name="Base.Widget.AppCompat.PopupMenu.Overflow">
  205. <item name="android:dropDownHorizontalOffset">-4dip</item>
  206. <item name="android:overlapAnchor">true</item>
  207. </style>
  208. <style name="Base.Widget.AppCompat.ProgressBar" parent="android:Widget.Material.ProgressBar">
  209. </style>
  210. <style name="Base.Widget.AppCompat.ProgressBar.Horizontal" parent="android:Widget.Material.ProgressBar.Horizontal">
  211. </style>
  212. <style name="Base.Widget.AppCompat.RatingBar" parent="android:Widget.Material.RatingBar"/>
  213. <style name="Base.Widget.AppCompat.SeekBar" parent="android:Widget.Material.SeekBar"/>
  214. <style name="Base.Widget.AppCompat.Spinner" parent="android:Widget.Material.Spinner"/>
  215. <style name="Base.Widget.AppCompat.TextView" parent="android:Widget.Material.TextView"/>
  216. <style name="Base.Widget.AppCompat.TextView.SpinnerItem" parent="android:Widget.Material.TextView.SpinnerItem"/>
  217. <style name="Base.Widget.AppCompat.Toolbar.Button.Navigation" parent="android:Widget.Material.Toolbar.Button.Navigation">
  218. </style>
  219. <style name="BaseUnityTheme" parent="android:Theme.Material.Light.NoActionBar.Fullscreen">
  220. </style>
  221. <style name="Platform.AppCompat" parent="Platform.V21.AppCompat"/>
  222. <style name="Platform.AppCompat.Light" parent="Platform.V21.AppCompat.Light"/>
  223. <style name="Platform.ThemeOverlay.AppCompat" parent="">
  224. <!-- Copy our color theme attributes to the framework -->
  225. <item name="android:colorPrimary">?attr/colorPrimary</item>
  226. <item name="android:colorPrimaryDark">?attr/colorPrimaryDark</item>
  227. <item name="android:colorAccent">?attr/colorAccent</item>
  228. <item name="android:colorControlNormal">?attr/colorControlNormal</item>
  229. <item name="android:colorControlActivated">?attr/colorControlActivated</item>
  230. <item name="android:colorControlHighlight">?attr/colorControlHighlight</item>
  231. <item name="android:colorButtonNormal">?attr/colorButtonNormal</item>
  232. </style>
  233. <style name="Platform.ThemeOverlay.AppCompat.Dark"/>
  234. <style name="Platform.ThemeOverlay.AppCompat.Light"/>
  235. <style name="Platform.V21.AppCompat" parent="android:Theme.Material.NoActionBar">
  236. <!-- Update link colors pre-v23 -->
  237. <item name="android:textColorLink">?android:attr/colorAccent</item>
  238. <item name="android:textColorLinkInverse">?android:attr/colorAccent</item>
  239. <!-- Update hint colors pre-v25 -->
  240. <item name="android:textColorHint">@color/abc_hint_foreground_material_dark</item>
  241. <item name="android:textColorHintInverse">@color/abc_hint_foreground_material_light</item>
  242. <item name="android:buttonBarStyle">?attr/buttonBarStyle</item>
  243. <item name="android:buttonBarButtonStyle">?attr/buttonBarButtonStyle</item>
  244. </style>
  245. <style name="Platform.V21.AppCompat.Light" parent="android:Theme.Material.Light.NoActionBar">
  246. <!-- Update link colors pre-v23 -->
  247. <item name="android:textColorLink">?android:attr/colorAccent</item>
  248. <item name="android:textColorLinkInverse">?android:attr/colorAccent</item>
  249. <!-- Update hint colors pre-v25 -->
  250. <item name="android:textColorHint">@color/abc_hint_foreground_material_light</item>
  251. <item name="android:textColorHintInverse">@color/abc_hint_foreground_material_dark</item>
  252. <item name="android:buttonBarStyle">?attr/buttonBarStyle</item>
  253. <item name="android:buttonBarButtonStyle">?attr/buttonBarButtonStyle</item>
  254. </style>
  255. <style name="TextAppearance.Compat.Notification" parent="@android:style/TextAppearance.Material.Notification"/>
  256. <style name="TextAppearance.Compat.Notification.Info" parent="@android:style/TextAppearance.Material.Notification.Info"/>
  257. <style name="TextAppearance.Compat.Notification.Time" parent="@android:style/TextAppearance.Material.Notification.Time"/>
  258. <style name="TextAppearance.Compat.Notification.Title" parent="@android:style/TextAppearance.Material.Notification.Title"/>
  259. <style name="Widget.Compat.NotificationActionContainer" parent="">
  260. <item name="android:background">@drawable/notification_action_background</item>
  261. </style>
  262. <style name="Widget.Compat.NotificationActionText" parent="">
  263. <item name="android:textAppearance">?android:attr/textAppearanceButton</item>
  264. <item name="android:textColor">@color/androidx_core_secondary_text_default_material_light</item>
  265. <item name="android:textSize">@dimen/notification_action_text_size</item>
  266. </style>
  267. </resources>