values.xml 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <resources>
  3. <attr format="reference" name="coordinatorLayoutStyle"/>
  4. <color name="notification_action_color_filter">#ffffffff</color>
  5. <color name="notification_icon_bg_color">#ff9e9e9e</color>
  6. <color name="notification_material_background_media_default_color">#ff424242</color>
  7. <color name="primary_text_default_material_dark">#ffffffff</color>
  8. <color name="ripple_material_light">#1f000000</color>
  9. <color name="secondary_text_default_material_dark">#b3ffffff</color>
  10. <color name="secondary_text_default_material_light">#8a000000</color>
  11. <dimen name="compat_button_inset_horizontal_material">4dp</dimen>
  12. <dimen name="compat_button_inset_vertical_material">6dp</dimen>
  13. <dimen name="compat_button_padding_horizontal_material">8dp</dimen>
  14. <dimen name="compat_button_padding_vertical_material">4dp</dimen>
  15. <dimen name="compat_control_corner_material">2dp</dimen>
  16. <dimen name="compat_notification_large_icon_max_height">320dp</dimen>
  17. <dimen name="compat_notification_large_icon_max_width">320dp</dimen>
  18. <dimen name="notification_action_icon_size">32dp</dimen>
  19. <dimen name="notification_action_text_size">13sp</dimen>
  20. <dimen name="notification_big_circle_margin">12dp</dimen>
  21. <dimen name="notification_content_margin_start">8dp</dimen>
  22. <dimen name="notification_large_icon_height">64dp</dimen>
  23. <dimen name="notification_large_icon_width">64dp</dimen>
  24. <dimen name="notification_main_column_padding_top">10dp</dimen>
  25. <dimen name="notification_media_narrow_margin">@dimen/notification_content_margin_start</dimen>
  26. <dimen name="notification_right_icon_size">16dp</dimen>
  27. <dimen name="notification_right_side_padding_top">2dp</dimen>
  28. <dimen name="notification_small_icon_background_padding">3dp</dimen>
  29. <dimen name="notification_small_icon_size_as_large">24dp</dimen>
  30. <dimen name="notification_subtext_size">13sp</dimen>
  31. <dimen name="notification_top_pad">10dp</dimen>
  32. <dimen name="notification_top_pad_large_text">5dp</dimen>
  33. <dimen name="subtitle_corner_radius">2dp</dimen>
  34. <dimen name="subtitle_outline_width">2dp</dimen>
  35. <dimen name="subtitle_shadow_offset">2dp</dimen>
  36. <dimen name="subtitle_shadow_radius">2dp</dimen>
  37. <drawable name="notification_template_icon_bg">#3333B5E5</drawable>
  38. <drawable name="notification_template_icon_low_bg">#0cffffff</drawable>
  39. <drawable name="transparent_background">#00000000</drawable>
  40. <item name="line1" type="id"/>
  41. <item name="line3" type="id"/>
  42. <item name="tag_transition_group" type="id"/>
  43. <item name="tag_unhandled_key_event_manager" type="id"/>
  44. <item name="tag_unhandled_key_listeners" type="id"/>
  45. <item name="text" type="id"/>
  46. <item name="text2" type="id"/>
  47. <item name="title" type="id"/>
  48. <integer name="cancel_button_image_alpha">127</integer>
  49. <integer name="status_bar_notification_info_maxnum">999</integer>
  50. <string name="app_name">WallPadHomeCtrl</string>
  51. <string name="status_bar_notification_info_overflow">999+</string>
  52. <style name="AppBaseTheme" parent="android:Theme.Light">
  53. <!--
  54. Theme customizations available in newer API levels can go in
  55. res/values-vXX/styles.xml, while customizations related to
  56. backward-compatibility can go here.
  57. -->
  58. </style>
  59. <style name="AppTheme" parent="AppBaseTheme">
  60. <!-- All customizations that are NOT specific to a particular API-level can go here. -->
  61. </style>
  62. <style name="TextAppearance.Compat.Notification" parent="@android:style/TextAppearance.StatusBar.EventContent"/>
  63. <style name="TextAppearance.Compat.Notification.Info">
  64. <item name="android:textSize">12sp</item>
  65. <item name="android:textColor">?android:attr/textColorSecondary</item>
  66. </style>
  67. <style name="TextAppearance.Compat.Notification.Info.Media"/>
  68. <style name="TextAppearance.Compat.Notification.Line2" parent="TextAppearance.Compat.Notification.Info"/>
  69. <style name="TextAppearance.Compat.Notification.Line2.Media" parent="TextAppearance.Compat.Notification.Info.Media"/>
  70. <style name="TextAppearance.Compat.Notification.Media"/>
  71. <style name="TextAppearance.Compat.Notification.Time">
  72. <item name="android:textSize">12sp</item>
  73. <item name="android:textColor">?android:attr/textColorSecondary</item>
  74. </style>
  75. <style name="TextAppearance.Compat.Notification.Time.Media"/>
  76. <style name="TextAppearance.Compat.Notification.Title" parent="@android:style/TextAppearance.StatusBar.EventContent.Title"/>
  77. <style name="TextAppearance.Compat.Notification.Title.Media"/>
  78. <style name="Theme.PopupActivity" parent="android:style/Theme.Dialog">
  79. <item name="android:windowBackground">@android:color/transparent</item>
  80. <item name="android:windowNoTitle">true</item>
  81. <item name="android:windowIsFloating">true</item>
  82. </style>
  83. <style name="Widget.Compat.NotificationActionContainer" parent=""/>
  84. <style name="Widget.Compat.NotificationActionText" parent=""/>
  85. <style name="Widget.Support.CoordinatorLayout" parent="android:Widget">
  86. <item name="statusBarBackground">#000000</item>
  87. </style>
  88. <declare-styleable name="ColorStateListItem">
  89. <!-- Base color for this state. -->
  90. <attr name="android:color"/>
  91. <!-- Alpha multiplier applied to the base color. -->
  92. <attr format="float" name="alpha"/>
  93. <attr name="android:alpha"/>
  94. </declare-styleable>
  95. <declare-styleable name="CoordinatorLayout">
  96. <!-- A reference to an array of integers representing the
  97. locations of horizontal keylines in dp from the starting edge.
  98. Child views can refer to these keylines for alignment using
  99. layout_keyline="index" where index is a 0-based index into
  100. this array. -->
  101. <attr format="reference" name="keylines"/>
  102. <!-- Drawable to display behind the status bar when the view is set to draw behind it. -->
  103. <attr format="color|reference" name="statusBarBackground"/>
  104. </declare-styleable>
  105. <declare-styleable name="CoordinatorLayout_Layout">
  106. <attr name="android:layout_gravity"/>
  107. <!-- The class name of a Behavior class defining special runtime behavior
  108. for this child view. -->
  109. <attr format="string" name="layout_behavior"/>
  110. <!-- The id of an anchor view that this view should position relative to. -->
  111. <attr format="reference" name="layout_anchor"/>
  112. <!-- The index of a keyline this view should position relative to.
  113. android:layout_gravity will affect how the view aligns to the
  114. specified keyline. -->
  115. <attr format="integer" name="layout_keyline"/>
  116. <!-- Specifies how an object should position relative to an anchor, on both the X and Y axes,
  117. within its parent's bounds. -->
  118. <attr name="layout_anchorGravity">
  119. <!-- Push object to the top of its container, not changing its size. -->
  120. <flag name="top" value="0x30"/>
  121. <!-- Push object to the bottom of its container, not changing its size. -->
  122. <flag name="bottom" value="0x50"/>
  123. <!-- Push object to the left of its container, not changing its size. -->
  124. <flag name="left" value="0x03"/>
  125. <!-- Push object to the right of its container, not changing its size. -->
  126. <flag name="right" value="0x05"/>
  127. <!-- Place object in the vertical center of its container, not changing its size. -->
  128. <flag name="center_vertical" value="0x10"/>
  129. <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
  130. <flag name="fill_vertical" value="0x70"/>
  131. <!-- Place object in the horizontal center of its container, not changing its size. -->
  132. <flag name="center_horizontal" value="0x01"/>
  133. <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
  134. <flag name="fill_horizontal" value="0x07"/>
  135. <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
  136. <flag name="center" value="0x11"/>
  137. <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
  138. <flag name="fill" value="0x77"/>
  139. <!-- Additional option that can be set to have the top and/or bottom edges of
  140. the child clipped to its container's bounds.
  141. The clip will be based on the vertical gravity: a top gravity will clip the bottom
  142. edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
  143. <flag name="clip_vertical" value="0x80"/>
  144. <!-- Additional option that can be set to have the left and/or right edges of
  145. the child clipped to its container's bounds.
  146. The clip will be based on the horizontal gravity: a left gravity will clip the right
  147. edge, a right gravity will clip the left edge, and neither will clip both edges. -->
  148. <flag name="clip_horizontal" value="0x08"/>
  149. <!-- Push object to the beginning of its container, not changing its size. -->
  150. <flag name="start" value="0x00800003"/>
  151. <!-- Push object to the end of its container, not changing its size. -->
  152. <flag name="end" value="0x00800005"/>
  153. </attr>
  154. <!-- Specifies how this view insets the CoordinatorLayout and make some other views
  155. dodge it. -->
  156. <attr format="enum" name="layout_insetEdge">
  157. <!-- Don't inset. -->
  158. <enum name="none" value="0x0"/>
  159. <!-- Inset the top edge. -->
  160. <enum name="top" value="0x30"/>
  161. <!-- Inset the bottom edge. -->
  162. <enum name="bottom" value="0x50"/>
  163. <!-- Inset the left edge. -->
  164. <enum name="left" value="0x03"/>
  165. <!-- Inset the right edge. -->
  166. <enum name="right" value="0x05"/>
  167. <!-- Inset the start edge. -->
  168. <enum name="start" value="0x00800003"/>
  169. <!-- Inset the end edge. -->
  170. <enum name="end" value="0x00800005"/>
  171. </attr>
  172. <!-- Specifies how this view dodges the inset edges of the CoordinatorLayout. -->
  173. <attr name="layout_dodgeInsetEdges">
  174. <!-- Don't dodge any edges -->
  175. <flag name="none" value="0x0"/>
  176. <!-- Dodge the top inset edge. -->
  177. <flag name="top" value="0x30"/>
  178. <!-- Dodge the bottom inset edge. -->
  179. <flag name="bottom" value="0x50"/>
  180. <!-- Dodge the left inset edge. -->
  181. <flag name="left" value="0x03"/>
  182. <!-- Dodge the right inset edge. -->
  183. <flag name="right" value="0x05"/>
  184. <!-- Dodge the start inset edge. -->
  185. <flag name="start" value="0x00800003"/>
  186. <!-- Dodge the end inset edge. -->
  187. <flag name="end" value="0x00800005"/>
  188. <!-- Dodge all the inset edges. -->
  189. <flag name="all" value="0x77"/>
  190. </attr>
  191. </declare-styleable>
  192. <declare-styleable name="FontFamily">
  193. <!-- The authority of the Font Provider to be used for the request. -->
  194. <attr format="string" name="fontProviderAuthority"/>
  195. <!-- The package for the Font Provider to be used for the request. This is used to verify
  196. the identity of the provider. -->
  197. <attr format="string" name="fontProviderPackage"/>
  198. <!-- The query to be sent over to the provider. Refer to your font provider's documentation
  199. on the format of this string. -->
  200. <attr format="string" name="fontProviderQuery"/>
  201. <!-- The sets of hashes for the certificates the provider should be signed with. This is
  202. used to verify the identity of the provider, and is only required if the provider is not
  203. part of the system image. This value may point to one list or a list of lists, where each
  204. individual list represents one collection of signature hashes. Refer to your font provider's
  205. documentation for these values. -->
  206. <attr format="reference" name="fontProviderCerts"/>
  207. <!-- The strategy to be used when fetching font data from a font provider in XML layouts.
  208. This attribute is ignored when the resource is loaded from code, as it is equivalent to the
  209. choice of API between {@link
  210. androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and
  211. {@link
  212. androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)}
  213. (async). -->
  214. <attr name="fontProviderFetchStrategy">
  215. <!-- The blocking font fetch works as follows.
  216. First, check the local cache, then if the requested font is not cached, request the
  217. font from the provider and wait until it is finished. You can change the length of
  218. the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the
  219. default typeface will be used instead. -->
  220. <enum name="blocking" value="0"/>
  221. <!-- The async font fetch works as follows.
  222. First, check the local cache, then if the requeted font is not cached, trigger a
  223. request the font and continue with layout inflation. Once the font fetch succeeds, the
  224. target text view will be refreshed with the downloaded font data. The
  225. fontProviderFetchTimeout will be ignored if async loading is specified. -->
  226. <enum name="async" value="1"/>
  227. </attr>
  228. <!-- The length of the timeout during fetching. -->
  229. <attr format="integer" name="fontProviderFetchTimeout">
  230. <!-- A special value for the timeout. In this case, the blocking font fetching will not
  231. timeout and wait until a reply is received from the font provider. -->
  232. <enum name="forever" value="-1"/>
  233. </attr>
  234. </declare-styleable>
  235. <declare-styleable name="FontFamilyFont">
  236. <!-- The style of the given font file. This will be used when the font is being loaded into
  237. the font stack and will override any style information in the font's header tables. If
  238. unspecified, the value in the font's header tables will be used. -->
  239. <attr name="fontStyle">
  240. <enum name="normal" value="0"/>
  241. <enum name="italic" value="1"/>
  242. </attr>
  243. <!-- The reference to the font file to be used. This should be a file in the res/font folder
  244. and should therefore have an R reference value. E.g. @font/myfont -->
  245. <attr format="reference" name="font"/>
  246. <!-- The weight of the given font file. This will be used when the font is being loaded into
  247. the font stack and will override any weight information in the font's header tables. Must
  248. be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most
  249. common values are 400 for regular weight and 700 for bold weight. If unspecified, the value
  250. in the font's header tables will be used. -->
  251. <attr format="integer" name="fontWeight"/>
  252. <!-- The variation settings to be applied to the font. The string should be in the following
  253. format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be
  254. used, or the font used does not support variation settings, this attribute needs not be
  255. specified. -->
  256. <attr format="string" name="fontVariationSettings"/>
  257. <!-- The index of the font in the tcc font file. If the font file referenced is not in the
  258. tcc format, this attribute needs not be specified. -->
  259. <attr format="integer" name="ttcIndex"/>
  260. <!-- References to the framework attrs -->
  261. <attr name="android:fontStyle"/>
  262. <attr name="android:font"/>
  263. <attr name="android:fontWeight"/>
  264. <attr name="android:fontVariationSettings"/>
  265. <attr name="android:ttcIndex"/>
  266. </declare-styleable>
  267. <declare-styleable name="GradientColor">
  268. <!-- Start color of the gradient. -->
  269. <attr name="android:startColor"/>
  270. <!-- Optional center color. -->
  271. <attr name="android:centerColor"/>
  272. <!-- End color of the gradient. -->
  273. <attr name="android:endColor"/>
  274. <!-- Type of gradient. The default type is linear. -->
  275. <attr name="android:type"/>
  276. <!-- Only applied to RadialGradient-->
  277. <!-- Radius of the gradient, used only with radial gradient. -->
  278. <attr name="android:gradientRadius"/>
  279. <!-- Only applied to SweepGradient / RadialGradient-->
  280. <!-- X coordinate of the center of the gradient within the path. -->
  281. <attr name="android:centerX"/>
  282. <!-- Y coordinate of the center of the gradient within the path. -->
  283. <attr name="android:centerY"/>
  284. <!-- LinearGradient specific -->
  285. <!-- X coordinate of the start point origin of the gradient.
  286. Defined in same coordinates as the path itself -->
  287. <attr name="android:startX"/>
  288. <!-- Y coordinate of the start point of the gradient within the shape.
  289. Defined in same coordinates as the path itself -->
  290. <attr name="android:startY"/>
  291. <!-- X coordinate of the end point origin of the gradient.
  292. Defined in same coordinates as the path itself -->
  293. <attr name="android:endX"/>
  294. <!-- Y coordinate of the end point of the gradient within the shape.
  295. Defined in same coordinates as the path itself -->
  296. <attr name="android:endY"/>
  297. <!-- Defines the tile mode of the gradient. SweepGradient doesn't support tiling. -->
  298. <attr name="android:tileMode"/>
  299. </declare-styleable>
  300. <declare-styleable name="GradientColorItem">
  301. <!-- The offset (or ratio) of this current color item inside the gradient.
  302. The value is only meaningful when it is between 0 and 1. -->
  303. <attr name="android:offset"/>
  304. <!-- The current color for the offset inside the gradient. -->
  305. <attr name="android:color"/>
  306. </declare-styleable>
  307. </resources>