You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

values-v21.xml 18KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <resources>
  3. <style name="Base.TextAppearance.AppCompat" parent="android:TextAppearance.Material"/>
  4. <style name="Base.TextAppearance.AppCompat.Body1" parent="android:TextAppearance.Material.Body1"/>
  5. <style name="Base.TextAppearance.AppCompat.Body2" parent="android:TextAppearance.Material.Body2"/>
  6. <style name="Base.TextAppearance.AppCompat.Button" parent="android:TextAppearance.Material.Button"/>
  7. <style name="Base.TextAppearance.AppCompat.Caption" parent="android:TextAppearance.Material.Caption"/>
  8. <style name="Base.TextAppearance.AppCompat.Display1" parent="android:TextAppearance.Material.Display1"/>
  9. <style name="Base.TextAppearance.AppCompat.Display2" parent="android:TextAppearance.Material.Display2"/>
  10. <style name="Base.TextAppearance.AppCompat.Display3" parent="android:TextAppearance.Material.Display3"/>
  11. <style name="Base.TextAppearance.AppCompat.Display4" parent="android:TextAppearance.Material.Display4"/>
  12. <style name="Base.TextAppearance.AppCompat.Headline" parent="android:TextAppearance.Material.Headline"/>
  13. <style name="Base.TextAppearance.AppCompat.Inverse" parent="android:TextAppearance.Material.Inverse"/>
  14. <style name="Base.TextAppearance.AppCompat.Large" parent="android:TextAppearance.Material.Large"/>
  15. <style name="Base.TextAppearance.AppCompat.Large.Inverse" parent="android:TextAppearance.Material.Large.Inverse"/>
  16. <style name="Base.TextAppearance.AppCompat.Light.Widget.PopupMenu.Large" parent="android:TextAppearance.Material.Widget.PopupMenu.Large">
  17. </style>
  18. <style name="Base.TextAppearance.AppCompat.Light.Widget.PopupMenu.Small" parent="android:TextAppearance.Material.Widget.PopupMenu.Small">
  19. </style>
  20. <style name="Base.TextAppearance.AppCompat.Medium" parent="android:TextAppearance.Material.Medium"/>
  21. <style name="Base.TextAppearance.AppCompat.Medium.Inverse" parent="android:TextAppearance.Material.Medium.Inverse"/>
  22. <style name="Base.TextAppearance.AppCompat.Menu" parent="android:TextAppearance.Material.Menu"/>
  23. <style name="Base.TextAppearance.AppCompat.SearchResult.Subtitle" parent="android:TextAppearance.Material.SearchResult.Subtitle">
  24. </style>
  25. <style name="Base.TextAppearance.AppCompat.SearchResult.Title" parent="android:TextAppearance.Material.SearchResult.Title">
  26. </style>
  27. <style name="Base.TextAppearance.AppCompat.Small" parent="android:TextAppearance.Material.Small"/>
  28. <style name="Base.TextAppearance.AppCompat.Small.Inverse" parent="android:TextAppearance.Material.Small.Inverse"/>
  29. <style name="Base.TextAppearance.AppCompat.Subhead" parent="android:TextAppearance.Material.Subhead"/>
  30. <style name="Base.TextAppearance.AppCompat.Title" parent="android:TextAppearance.Material.Title"/>
  31. <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Menu" parent="android:TextAppearance.Material.Widget.ActionBar.Menu">
  32. </style>
  33. <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Subtitle" parent="android:TextAppearance.Material.Widget.ActionBar.Subtitle">
  34. </style>
  35. <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Subtitle.Inverse" parent="android:TextAppearance.Material.Widget.ActionBar.Subtitle.Inverse">
  36. </style>
  37. <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Title" parent="android:TextAppearance.Material.Widget.ActionBar.Title">
  38. </style>
  39. <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Title.Inverse" parent="android:TextAppearance.Material.Widget.ActionBar.Title.Inverse">
  40. </style>
  41. <style name="Base.TextAppearance.AppCompat.Widget.ActionMode.Subtitle" parent="android:TextAppearance.Material.Widget.ActionMode.Subtitle">
  42. </style>
  43. <style name="Base.TextAppearance.AppCompat.Widget.ActionMode.Title" parent="android:TextAppearance.Material.Widget.ActionMode.Title">
  44. </style>
  45. <style name="Base.TextAppearance.AppCompat.Widget.Button" parent="android:TextAppearance.Material.Widget.Button"/>
  46. <style name="Base.TextAppearance.AppCompat.Widget.PopupMenu.Large" parent="android:TextAppearance.Material.Widget.PopupMenu.Large">
  47. </style>
  48. <style name="Base.TextAppearance.AppCompat.Widget.PopupMenu.Small" parent="android:TextAppearance.Material.Widget.PopupMenu.Small">
  49. </style>
  50. <style name="Base.TextAppearance.AppCompat.Widget.Switch" parent="android:TextAppearance.Material.Button"/>
  51. <style name="Base.TextAppearance.AppCompat.Widget.TextView.SpinnerItem" parent="android:TextAppearance.Material.Widget.TextView.SpinnerItem"/>
  52. <style name="Base.TextAppearance.Widget.AppCompat.Toolbar.Subtitle" parent="android:TextAppearance.Material.Widget.ActionBar.Subtitle">
  53. </style>
  54. <style name="Base.TextAppearance.Widget.AppCompat.Toolbar.Title" parent="android:TextAppearance.Material.Widget.ActionBar.Title">
  55. </style>
  56. <style name="Base.Theme.AppCompat" parent="Base.V21.Theme.AppCompat"/>
  57. <style name="Base.Theme.AppCompat.Dialog" parent="Base.V21.Theme.AppCompat.Dialog"/>
  58. <style name="Base.Theme.AppCompat.Light" parent="Base.V21.Theme.AppCompat.Light"/>
  59. <style name="Base.Theme.AppCompat.Light.Dialog" parent="Base.V21.Theme.AppCompat.Light.Dialog"/>
  60. <style name="Base.V21.Theme.AppCompat" parent="Base.V7.Theme.AppCompat">
  61. <!-- Action Bar styling attributes -->
  62. <item name="actionBarSize">?android:attr/actionBarSize</item>
  63. <item name="actionBarDivider">?android:attr/actionBarDivider</item>
  64. <item name="actionBarItemBackground">@drawable/abc_action_bar_item_background_material</item>
  65. <item name="actionButtonStyle">?android:attr/actionButtonStyle</item>
  66. <item name="actionMenuTextColor">?android:attr/actionMenuTextColor</item>
  67. <item name="actionMenuTextAppearance">?android:attr/actionMenuTextAppearance</item>
  68. <item name="actionModeBackground">?android:attr/actionModeBackground</item>
  69. <item name="actionModeCloseDrawable">?android:attr/actionModeCloseDrawable</item>
  70. <item name="actionOverflowButtonStyle">?android:attr/actionOverflowButtonStyle</item>
  71. <item name="homeAsUpIndicator">?android:attr/homeAsUpIndicator</item>
  72. <!-- For PopupMenu -->
  73. <item name="listPreferredItemHeightSmall">?android:attr/listPreferredItemHeightSmall</item>
  74. <item name="textAppearanceLargePopupMenu">?android:attr/textAppearanceLargePopupMenu</item>
  75. <item name="textAppearanceSmallPopupMenu">?android:attr/textAppearanceSmallPopupMenu</item>
  76. <!-- General view attributes -->
  77. <item name="selectableItemBackground">?android:attr/selectableItemBackground</item>
  78. <item name="selectableItemBackgroundBorderless">?android:attr/selectableItemBackgroundBorderless</item>
  79. <item name="borderlessButtonStyle">?android:borderlessButtonStyle</item>
  80. <item name="dividerHorizontal">?android:attr/dividerHorizontal</item>
  81. <item name="dividerVertical">?android:attr/dividerVertical</item>
  82. <item name="editTextBackground">?android:attr/editTextBackground</item>
  83. <item name="editTextColor">?android:attr/editTextColor</item>
  84. <item name="listChoiceBackgroundIndicator">?android:attr/listChoiceBackgroundIndicator</item>
  85. <!-- Copy the platform default styles for the AppCompat widgets -->
  86. <item name="autoCompleteTextViewStyle">?android:attr/autoCompleteTextViewStyle</item>
  87. <item name="buttonStyle">?android:attr/buttonStyle</item>
  88. <item name="buttonStyleSmall">?android:attr/buttonStyleSmall</item>
  89. <item name="checkboxStyle">?android:attr/checkboxStyle</item>
  90. <item name="checkedTextViewStyle">?android:attr/checkedTextViewStyle</item>
  91. <item name="editTextStyle">?android:attr/editTextStyle</item>
  92. <item name="radioButtonStyle">?android:attr/radioButtonStyle</item>
  93. <item name="ratingBarStyle">?android:attr/ratingBarStyle</item>
  94. <item name="spinnerStyle">?android:attr/spinnerStyle</item>
  95. <!-- Copy our color theme attributes to the framework -->
  96. <item name="android:colorPrimary">?attr/colorPrimary</item>
  97. <item name="android:colorPrimaryDark">?attr/colorPrimaryDark</item>
  98. <item name="android:colorAccent">?attr/colorAccent</item>
  99. <item name="android:colorControlNormal">?attr/colorControlNormal</item>
  100. <item name="android:colorControlActivated">?attr/colorControlActivated</item>
  101. <item name="android:colorControlHighlight">?attr/colorControlHighlight</item>
  102. <item name="android:colorButtonNormal">?attr/colorButtonNormal</item>
  103. </style>
  104. <style name="Base.V21.Theme.AppCompat.Dialog" parent="Base.V11.Theme.AppCompat.Dialog">
  105. <item name="android:windowElevation">@dimen/abc_floating_window_z</item>
  106. </style>
  107. <style name="Base.V21.Theme.AppCompat.Light" parent="Base.V7.Theme.AppCompat.Light">
  108. <!-- Action Bar styling attributes -->
  109. <item name="actionBarSize">?android:attr/actionBarSize</item>
  110. <item name="actionBarDivider">?android:attr/actionBarDivider</item>
  111. <item name="actionBarItemBackground">@drawable/abc_action_bar_item_background_material</item>
  112. <item name="actionButtonStyle">?android:attr/actionButtonStyle</item>
  113. <item name="actionMenuTextColor">?android:attr/actionMenuTextColor</item>
  114. <item name="actionMenuTextAppearance">?android:attr/actionMenuTextAppearance</item>
  115. <item name="actionModeBackground">?android:attr/actionModeBackground</item>
  116. <item name="actionModeCloseDrawable">?android:attr/actionModeCloseDrawable</item>
  117. <item name="actionOverflowButtonStyle">?android:attr/actionOverflowButtonStyle</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">?android:attr/editTextBackground</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="autoCompleteTextViewStyle">?android:attr/autoCompleteTextViewStyle</item>
  134. <item name="buttonStyle">?android:attr/buttonStyle</item>
  135. <item name="buttonStyleSmall">?android:attr/buttonStyleSmall</item>
  136. <item name="checkboxStyle">?android:attr/checkboxStyle</item>
  137. <item name="checkedTextViewStyle">?android:attr/checkedTextViewStyle</item>
  138. <item name="editTextStyle">?android:attr/editTextStyle</item>
  139. <item name="radioButtonStyle">?android:attr/radioButtonStyle</item>
  140. <item name="ratingBarStyle">?android:attr/ratingBarStyle</item>
  141. <item name="spinnerStyle">?android:attr/spinnerStyle</item>
  142. <!-- Copy our color theme attributes to the framework -->
  143. <item name="android:colorPrimary">?attr/colorPrimary</item>
  144. <item name="android:colorPrimaryDark">?attr/colorPrimaryDark</item>
  145. <item name="android:colorAccent">?attr/colorAccent</item>
  146. <item name="android:colorControlNormal">?attr/colorControlNormal</item>
  147. <item name="android:colorControlActivated">?attr/colorControlActivated</item>
  148. <item name="android:colorControlHighlight">?attr/colorControlHighlight</item>
  149. <item name="android:colorButtonNormal">?attr/colorButtonNormal</item>
  150. </style>
  151. <style name="Base.V21.Theme.AppCompat.Light.Dialog" parent="Base.V11.Theme.AppCompat.Light.Dialog">
  152. <item name="android:windowElevation">@dimen/abc_floating_window_z</item>
  153. </style>
  154. <style name="Base.Widget.AppCompat.ActionBar.TabText" parent="android:Widget.Material.ActionBar.TabText">
  155. </style>
  156. <style name="Base.Widget.AppCompat.ActionBar.TabView" parent="android:Widget.Material.ActionBar.TabView">
  157. </style>
  158. <style name="Base.Widget.AppCompat.ActionButton" parent="android:Widget.Material.ActionButton">
  159. </style>
  160. <style name="Base.Widget.AppCompat.ActionButton.CloseMode" parent="android:Widget.Material.ActionButton.CloseMode">
  161. <item name="android:minWidth">56dp</item>
  162. </style>
  163. <style name="Base.Widget.AppCompat.ActionButton.Overflow" parent="android:Widget.Material.ActionButton.Overflow">
  164. </style>
  165. <style name="Base.Widget.AppCompat.AutoCompleteTextView" parent="android:Widget.Material.AutoCompleteTextView"/>
  166. <style name="Base.Widget.AppCompat.Button" parent="android:Widget.Material.Button"/>
  167. <style name="Base.Widget.AppCompat.Button.Borderless" parent="android:Widget.Material.Button.Borderless"/>
  168. <style name="Base.Widget.AppCompat.Button.Borderless.Colored" parent="android:Widget.Material.Button.Borderless.Colored"/>
  169. <style name="Base.Widget.AppCompat.Button.Small" parent="android:Widget.Material.Button.Small"/>
  170. <style name="Base.Widget.AppCompat.ButtonBar" parent="android:Widget.Material.ButtonBar"/>
  171. <style name="Base.Widget.AppCompat.CompoundButton.CheckBox" parent="android:Widget.Material.CompoundButton.CheckBox"/>
  172. <style name="Base.Widget.AppCompat.CompoundButton.RadioButton" parent="android:Widget.Material.CompoundButton.RadioButton"/>
  173. <style name="Base.Widget.AppCompat.DropDownItem.Spinner" parent="android:Widget.Material.DropDownItem.Spinner"/>
  174. <style name="Base.Widget.AppCompat.EditText" parent="android:Widget.Material.EditText"/>
  175. <style name="Base.Widget.AppCompat.Light.ActionBar.TabText" parent="android:Widget.Material.Light.ActionBar.TabText">
  176. </style>
  177. <style name="Base.Widget.AppCompat.Light.ActionBar.TabText.Inverse" parent="android:Widget.Material.Light.ActionBar.TabText">
  178. </style>
  179. <style name="Base.Widget.AppCompat.Light.ActionBar.TabView" parent="android:Widget.Material.Light.ActionBar.TabView">
  180. </style>
  181. <style name="Base.Widget.AppCompat.Light.PopupMenu" parent="android:Widget.Material.Light.PopupMenu">
  182. </style>
  183. <style name="Base.Widget.AppCompat.Light.PopupMenu.Overflow">
  184. <item name="android:dropDownHorizontalOffset">-4dip</item>
  185. <item name="android:overlapAnchor">true</item>
  186. </style>
  187. <style name="Base.Widget.AppCompat.ListPopupWindow" parent="android:Widget.Material.ListPopupWindow">
  188. </style>
  189. <style name="Base.Widget.AppCompat.ListView" parent="android:Widget.Material.ListView"/>
  190. <style name="Base.Widget.AppCompat.ListView.DropDown" parent="android:Widget.Material.ListView.DropDown"/>
  191. <style name="Base.Widget.AppCompat.ListView.Menu"/>
  192. <style name="Base.Widget.AppCompat.PopupMenu" parent="android:Widget.Material.PopupMenu">
  193. </style>
  194. <style name="Base.Widget.AppCompat.PopupMenu.Overflow">
  195. <item name="android:dropDownHorizontalOffset">-4dip</item>
  196. <item name="android:overlapAnchor">true</item>
  197. </style>
  198. <style name="Base.Widget.AppCompat.ProgressBar" parent="android:Widget.Material.ProgressBar">
  199. </style>
  200. <style name="Base.Widget.AppCompat.ProgressBar.Horizontal" parent="android:Widget.Material.ProgressBar.Horizontal">
  201. </style>
  202. <style name="Base.Widget.AppCompat.RatingBar" parent="android:Widget.Material.RatingBar"/>
  203. <style name="Base.Widget.AppCompat.Spinner" parent="android:Widget.Material.Spinner"/>
  204. <style name="Base.Widget.AppCompat.Spinner.Underlined" parent="android:Widget.Material.Spinner.Underlined"/>
  205. <style name="Base.Widget.AppCompat.TextView.SpinnerItem" parent="android:Widget.Material.TextView.SpinnerItem"/>
  206. <style name="Base.Widget.AppCompat.Toolbar.Button.Navigation" parent="android:Widget.Material.Toolbar.Button.Navigation">
  207. </style>
  208. <style name="Platform.AppCompat" parent="android:Theme.Material">
  209. <item name="android:windowNoTitle">true</item>
  210. <item name="android:windowActionBar">false</item>
  211. <item name="android:buttonBarStyle">?attr/buttonBarStyle</item>
  212. <item name="android:buttonBarButtonStyle">?attr/buttonBarButtonStyle</item>
  213. </style>
  214. <style name="Platform.AppCompat.Light" parent="android:Theme.Material.Light">
  215. <item name="android:windowNoTitle">true</item>
  216. <item name="android:windowActionBar">false</item>
  217. <item name="android:buttonBarStyle">?attr/buttonBarStyle</item>
  218. <item name="android:buttonBarButtonStyle">?attr/buttonBarButtonStyle</item>
  219. </style>
  220. <style name="Platform.ThemeOverlay.AppCompat" parent="">
  221. <!-- Copy our color theme attributes to the framework -->
  222. <item name="android:colorPrimary">?attr/colorPrimary</item>
  223. <item name="android:colorPrimaryDark">?attr/colorPrimaryDark</item>
  224. <item name="android:colorAccent">?attr/colorAccent</item>
  225. <item name="android:colorControlNormal">?attr/colorControlNormal</item>
  226. <item name="android:colorControlActivated">?attr/colorControlActivated</item>
  227. <item name="android:colorControlHighlight">?attr/colorControlHighlight</item>
  228. <item name="android:colorButtonNormal">?attr/colorButtonNormal</item>
  229. </style>
  230. <style name="Platform.ThemeOverlay.AppCompat.Dark"/>
  231. <style name="Platform.ThemeOverlay.AppCompat.Light"/>
  232. </resources>