attrs.xml 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567
  1. <?xml version="1.0" encoding="utf-8"?><!--
  2. /* Copyright 2008, The Android Open Source Project
  3. **
  4. ** Licensed under the Apache License, Version 2.0 (the "License");
  5. ** you may not use this file except in compliance with the License.
  6. ** You may obtain a copy of the License at
  7. **
  8. ** http://www.apache.org/licenses/LICENSE-2.0
  9. **
  10. ** Unless required by applicable law or agreed to in writing, software
  11. ** distributed under the License is distributed on an "AS IS" BASIS,
  12. ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. ** See the License for the specific language governing permissions and
  14. ** limitations under the License.
  15. */
  16. -->
  17. <resources xmlns:android="http://schemas.android.com/apk/res/android">
  18. <!-- Attributes used for launcher theme -->
  19. <attr name="allAppsScrimColor" format="color" />
  20. <attr name="allappsHeaderProtectionColor" format="color" />
  21. <attr name="allAppsNavBarScrimColor" format="color" />
  22. <attr name="allAppsTheme" format="reference" />
  23. <attr name="popupColorPrimary" format="color" />
  24. <attr name="popupColorSecondary" format="color" />
  25. <attr name="popupColorTertiary" format="color" />
  26. <attr name="popupColorBackground" format="color" />
  27. <attr name="popupTextColor" format="color" />
  28. <attr name="popupShadeFirst" format="color" />
  29. <attr name="popupShadeSecond" format="color" />
  30. <attr name="popupShadeThird" format="color" />
  31. <attr name="isMainColorDark" format="boolean" />
  32. <attr name="isWorkspaceDarkText" format="boolean" />
  33. <attr name="workspaceTextColor" format="color" />
  34. <attr name="workspaceShadowColor" format="color" />
  35. <attr name="workspaceAmbientShadowColor" format="color" />
  36. <attr name="workspaceKeyShadowColor" format="color" />
  37. <attr name="workspaceStatusBarScrim" format="reference" />
  38. <attr name="widgetsTheme" format="reference" />
  39. <attr name="iconOnlyShortcutColor" format="color" />
  40. <attr name="eduHalfSheetBGColor" format="color" />
  41. <attr name="overviewScrimColor" format="color" />
  42. <attr name="popupNotificationDotColor" format="color" />
  43. <attr name="notificationDotColor" format="color" />
  44. <attr name="folderPaginationColor" format="color" />
  45. <attr name="folderPreviewColor" format="color" />
  46. <attr name="folderBackgroundColor" format="color" />
  47. <attr name="folderIconRadius" format="float" />
  48. <attr name="folderIconBorderColor" format="color" />
  49. <attr name="folderTextColor" format="color" />
  50. <attr name="folderHintTextColor" format="color" />
  51. <attr name="isFolderDarkText" format="boolean" />
  52. <attr name="workspaceAccentColor" format="color" />
  53. <attr name="workspaceSurfaceColor" format="color" />
  54. <attr name="dropTargetHoverTextColor" format="color" />
  55. <attr name="dropTargetHoverButtonColor" format="color" />
  56. <attr name="preloadIconAccentColor" format="color" />
  57. <attr name="preloadIconBackgroundColor" format="color" />
  58. <attr name="widgetPickerTitleColor" format="color"/>
  59. <attr name="widgetPickerPrimarySurfaceColor" format="color"/>
  60. <attr name="widgetPickerSecondarySurfaceColor" format="color"/>
  61. <attr name="widgetPickerHeaderAppTitleColor" format="color"/>
  62. <attr name="widgetPickerHeaderAppSubtitleColor" format="color"/>
  63. <attr name="widgetPickerHeaderBackgroundColor" format="color"/>
  64. <attr name="widgetPickerSuggestionsIconBackgroundColor" format="color"/>
  65. <attr name="widgetPickerSuggestionsIconColor" format="color"/>
  66. <attr name="widgetPickerTabBackgroundSelected" format="color"/>
  67. <attr name="widgetPickerTabBackgroundUnselected" format="color"/>
  68. <attr name="widgetPickerSearchTextColor" format="color"/>
  69. <attr name="widgetPickerSelectedTabTextColor" format="color"/>
  70. <attr name="widgetPickerUnselectedTabTextColor" format="color"/>
  71. <attr name="widgetPickerCollapseHandleColor" format="color"/>
  72. <!-- BubbleTextView specific attributes. -->
  73. <declare-styleable name="BubbleTextView">
  74. <attr name="layoutHorizontal" format="boolean" />
  75. <attr name="iconSizeOverride" format="dimension" />
  76. <attr name="iconDisplay" format="integer">
  77. <enum name="workspace" value="0" />
  78. <enum name="all_apps" value="1" />
  79. <enum name="folder" value="2" />
  80. <enum name="widget_section" value="3" />
  81. <enum name="shortcut_popup" value="4" />
  82. <enum name="taskbar" value="5" />
  83. <enum name="search_result_tall" value="6" />
  84. <enum name="search_result_small" value="7" />
  85. </attr>
  86. <attr name="centerVertically" format="boolean" />
  87. </declare-styleable>
  88. <!-- BubbleTextView specific attributes. -->
  89. <declare-styleable name="FolderIconPreview">
  90. <attr name="folderPreviewColor" />
  91. <attr name="folderIconBorderColor" />
  92. </declare-styleable>
  93. <declare-styleable name="SearchResultSuggestion">
  94. <attr name="customIcon" format="reference" />
  95. <attr name="matchTextInsetWithQuery" format="boolean" />
  96. </declare-styleable>
  97. <declare-styleable name="ShadowInfo">
  98. <attr name="ambientShadowColor" format="color" />
  99. <attr name="ambientShadowBlur" format="dimension" />
  100. <attr name="keyShadowColor" format="color" />
  101. <attr name="keyShadowBlur" format="dimension" />
  102. <attr name="keyShadowOffsetX" format="dimension" />
  103. <attr name="keyShadowOffsetY" format="dimension" />
  104. </declare-styleable>
  105. <!-- PagedView specific attributes. These attributes are used to customize
  106. a PagedView view in XML files. -->
  107. <declare-styleable name="PagedView">
  108. <!-- The page indicator for this workspace -->
  109. <attr name="pageIndicator" format="reference" />
  110. </declare-styleable>
  111. <!-- XML attributes used by default_workspace.xml -->
  112. <declare-styleable name="Favorite">
  113. <attr name="className" format="string" />
  114. <attr name="packageName" format="string" />
  115. <attr name="container" format="string" />
  116. <attr name="screen" format="string" />
  117. <attr name="x" format="string" />
  118. <attr name="y" format="string" />
  119. <attr name="spanX" format="string" />
  120. <attr name="spanY" format="string" />
  121. <attr name="icon" format="reference" />
  122. <attr name="title" format="string" />
  123. <attr name="uri" format="string" />
  124. </declare-styleable>
  125. <declare-styleable name="Extra">
  126. <attr name="key" format="string" />
  127. <attr name="value" format="string" />
  128. </declare-styleable>
  129. <declare-styleable name="Include">
  130. <attr name="workspace" format="reference" />
  131. <attr name="folderItems" format="reference" />
  132. </declare-styleable>
  133. <declare-styleable name="InsettableFrameLayout_Layout">
  134. <attr name="layout_ignoreInsets" format="boolean" />
  135. </declare-styleable>
  136. <declare-styleable name="StickyScroller_Layout">
  137. <attr name="layout_sticky" format="boolean" />
  138. </declare-styleable>
  139. <declare-styleable name="GridDisplayOption">
  140. <attr name="name" format="string" />
  141. <attr name="numRows" format="integer" />
  142. <attr name="numColumns" format="integer" />
  143. <!-- numSearchContainerColumns defaults to numColumns, if not specified -->
  144. <attr name="numSearchContainerColumns" format="integer" />
  145. <!-- Support attributes in CellStyle. defaults to CellStyleDefault -->
  146. <attr name="cellStyle" format="reference" />
  147. <!-- numFolderRows & numFolderColumns defaults to numRows & numColumns, if not specified -->
  148. <attr name="numFolderRows" format="integer" />
  149. <attr name="numFolderColumns" format="integer" />
  150. <!-- Support attributes in FolderStyle -->
  151. <attr name="folderStyle" format="reference" />
  152. <!-- Support attributes in AllAppsStyle. Defaults to AllAppsStyleDefault -->
  153. <attr name="allAppsStyle" format="reference" />
  154. <!-- numAllAppsColumns defaults to numColumns, if not specified -->
  155. <attr name="numAllAppsColumns" format="integer" />
  156. <!-- Number of columns to use when extending the all-apps size,
  157. defaults to 2 * numAllAppsColumns -->
  158. <attr name="numExtendedAllAppsColumns" format="integer" />
  159. <!-- numHotseatIcons defaults to numColumns, if not specified -->
  160. <attr name="numHotseatIcons" format="integer" />
  161. <!-- Number of icons to use when extending the hotseat size,
  162. defaults to 2 * numHotseatIcons -->
  163. <attr name="numExtendedHotseatIcons" format="integer" />
  164. <!-- alignment of hotseat to the grid.
  165. Not applicable for 3 button mode when taskbar is enabled -->
  166. <!-- defaults to numColumns, if not specified -->
  167. <attr name="hotseatColumnSpan" format="integer" />
  168. <!-- defaults to numColumns, if not specified -->
  169. <attr name="hotseatColumnSpanLandscape" format="integer" />
  170. <!-- defaults to numColumns, if not specified -->
  171. <attr name="hotseatColumnSpanTwoPanelLandscape" format="integer" />
  172. <!-- defaults to numColumns, if not specified -->
  173. <attr name="hotseatColumnSpanTwoPanelPortrait" format="integer" />
  174. <!-- Spacing to have at the end of the nav buttons in large screen 3 button nav,
  175. defaults to @dimen/taskbar_button_margin_default -->
  176. <attr name="inlineNavButtonsEndSpacing" format="reference" />
  177. <attr name="dbFile" format="string" />
  178. <attr name="defaultLayoutId" format="reference" />
  179. <attr name="demoModeLayoutId" format="reference" />
  180. <attr name="isScalable" format="boolean" />
  181. <attr name="devicePaddingId" format="reference" />
  182. <!-- File that contains the specs for the workspace.
  183. Needs FeatureFlags.ENABLE_RESPONSIVE_WORKSPACE enabled -->
  184. <attr name="workspaceSpecsId" format="reference" />
  185. <!-- By default all categories are enabled -->
  186. <attr name="deviceCategory" format="integer">
  187. <!-- Enable on phone only -->
  188. <flag name="phone" value="1" />
  189. <!-- Enable on tablets only -->
  190. <flag name="tablet" value="2" />
  191. <!-- Enable on multi display devices only -->
  192. <flag name="multi_display" value="4" />
  193. </attr>
  194. <!-- By default all are false -->
  195. <attr name="inlineQsb" format="integer">
  196. <!-- Enable on landscape only -->
  197. <flag name="portrait" value="1" />
  198. <!-- Enable on portrait only -->
  199. <flag name="landscape" value="2" />
  200. <!-- Enable on two panel portrait only -->
  201. <flag name="twoPanelPortrait" value="4" />
  202. <!-- Enable on two panel landscape only -->
  203. <flag name="twoPanelLandscape" value="8" />
  204. </attr>
  205. </declare-styleable>
  206. <declare-styleable name="DevicePadding">
  207. <attr name="maxEmptySpace" format="dimension" />
  208. </declare-styleable>
  209. <declare-styleable name="DevicePaddingFormula">
  210. <attr name="a" format="float|dimension" />
  211. <attr name="b" format="float|dimension" />
  212. <attr name="c" format="float|dimension" />
  213. </declare-styleable>
  214. <declare-styleable name="PersonalWorkSlidingTabStrip">
  215. <attr name="alignOnIcon" format="boolean" />
  216. </declare-styleable>
  217. <!-- Responsive grids attributes -->
  218. <declare-styleable name="WorkspaceSpec">
  219. <attr name="specType" format="integer">
  220. <enum name="height" value="0" />
  221. <enum name="width" value="1" />
  222. </attr>
  223. <attr name="maxAvailableSize" format="dimension" />
  224. </declare-styleable>
  225. <declare-styleable name="SpecSize">
  226. <attr name="fixedSize" format="dimension" />
  227. <attr name="ofAvailableSpace" format="float" />
  228. <attr name="ofRemainderSpace" format="float" />
  229. </declare-styleable>
  230. <declare-styleable name="ProfileDisplayOption">
  231. <attr name="name" />
  232. <attr name="minWidthDps" format="float" />
  233. <attr name="minHeightDps" format="float" />
  234. <!-- These min cell values are only used if GridDisplayOption#isScalable is true -->
  235. <attr name="minCellHeight" format="float" />
  236. <attr name="minCellWidth" format="float" />
  237. <!-- defaults to minCellHeight, if not specified -->
  238. <attr name="minCellHeightLandscape" format="float" />
  239. <!-- defaults to minCellWidth, if not specified -->
  240. <attr name="minCellWidthLandscape" format="float" />
  241. <!-- defaults to minCellHeight, if not specified -->
  242. <attr name="minCellHeightTwoPanelPortrait" format="float" />
  243. <!-- defaults to minCellWidth, if not specified -->
  244. <attr name="minCellWidthTwoPanelPortrait" format="float" />
  245. <!-- defaults to minCellHeight, if not specified -->
  246. <attr name="minCellHeightTwoPanelLandscape" format="float" />
  247. <!-- defaults to minCellWidth, if not specified -->
  248. <attr name="minCellWidthTwoPanelLandscape" format="float" />
  249. <!-- These border spaces are only used if GridDisplayOption#isScalable is true -->
  250. <!-- space to be used horizontally and vertically -->
  251. <attr name="borderSpace" format="float" />
  252. <!-- space to the right of the cell, defaults to borderSpace if not specified -->
  253. <attr name="borderSpaceHorizontal" format="float" />
  254. <!-- space below the cell, defaults to borderSpace if not specified -->
  255. <attr name="borderSpaceVertical" format="float" />
  256. <!-- space to be used horizontally and vertically,
  257. defaults to borderSpace if not specified -->
  258. <attr name="borderSpaceLandscape" format="float" />
  259. <!-- space to the right of the cell, defaults to borderSpaceLandscape if not specified -->
  260. <attr name="borderSpaceLandscapeHorizontal" format="float" />
  261. <!-- space below the cell, defaults to borderSpaceLandscape if not specified -->
  262. <attr name="borderSpaceLandscapeVertical" format="float" />
  263. <!-- space to be used horizontally and vertically in two panels,
  264. defaults to borderSpace if not specified -->
  265. <attr name="borderSpaceTwoPanelPortrait" format="float" />
  266. <!-- space to the right of the cell in two panels, defaults to
  267. borderSpaceTwoPanelPortrait if not specified -->
  268. <attr name="borderSpaceTwoPanelPortraitHorizontal" format="float" />
  269. <!-- space below the cell in two panels, defaults to borderSpaceTwoPanelPortrait
  270. if not specified -->
  271. <attr name="borderSpaceTwoPanelPortraitVertical" format="float" />
  272. <!-- space to be used horizontally and vertically in two panels,
  273. defaults to borderSpace if not specified -->
  274. <attr name="borderSpaceTwoPanelLandscape" format="float" />
  275. <!-- space to the right of the cell in two panels, defaults to
  276. borderSpaceTwoPanelLandscape if not specified -->
  277. <attr name="borderSpaceTwoPanelLandscapeHorizontal" format="float" />
  278. <!-- space below the cell in two panels, defaults to borderSpaceTwoPanelLandscape
  279. if not specified -->
  280. <attr name="borderSpaceTwoPanelLandscapeVertical" format="float" />
  281. <!-- defaults to minCellHeight if not specified when GridDisplayOption#isScalable is true.
  282. Must be defined when GridDisplayOption#isScalable is false. -->
  283. <attr name="allAppsCellHeight" format="float" />
  284. <!-- These min cell values are only used if GridDisplayOption#isScalable is true -->
  285. <!-- defaults to minCellWidth, if not specified -->
  286. <attr name="allAppsCellWidth" format="float" />
  287. <!-- defaults to allAppsCellHeight, if not specified -->
  288. <attr name="allAppsCellHeightLandscape" format="float" />
  289. <!-- defaults to allAppsCellWidth, if not specified -->
  290. <attr name="allAppsCellWidthLandscape" format="float" />
  291. <!-- defaults to allAppsCellHeight, if not specified -->
  292. <attr name="allAppsCellHeightTwoPanelPortrait" format="float" />
  293. <!-- defaults to allAppsCellWidth, if not specified -->
  294. <attr name="allAppsCellWidthTwoPanelPortrait" format="float" />
  295. <!-- defaults to allAppsCellHeight, if not specified -->
  296. <attr name="allAppsCellHeightTwoPanelLandscape" format="float" />
  297. <!-- defaults to allAppsCellWidth, if not specified -->
  298. <attr name="allAppsCellWidthTwoPanelLandscape" format="float" />
  299. <!-- The following values are only enabled if grid is supported. -->
  300. <!-- defaults to iconImageSize, if not specified -->
  301. <attr name="allAppsIconSize" format="float" />
  302. <!-- defaults to allAppsIconSize, if not specified -->
  303. <attr name="allAppsIconSizeLandscape" format="float" />
  304. <!-- defaults to allAppsIconSize, if not specified -->
  305. <attr name="allAppsIconSizeTwoPanelPortrait" format="float" />
  306. <!-- defaults to allAppsIconSize, if not specified -->
  307. <attr name="allAppsIconSizeTwoPanelLandscape" format="float" />
  308. <!-- defaults to iconTextSize, if not specified -->
  309. <attr name="allAppsIconTextSize" format="float" />
  310. <!-- defaults to allAppsIconTextSize, if not specified -->
  311. <attr name="allAppsIconTextSizeTwoPanelPortrait" format="float" />
  312. <!-- defaults to allAppsIconTextSize, if not specified -->
  313. <attr name="allAppsIconTextSizeTwoPanelLandscape" format="float" />
  314. <!-- defaults to borderSpace, if not specified -->
  315. <!-- space to be used horizontally and vertically -->
  316. <attr name="allAppsBorderSpace" format="float" />
  317. <!-- space to the right of the cell, defaults to allAppsBorderSpace if not specified -->
  318. <attr name="allAppsBorderSpaceHorizontal" format="float" />
  319. <!-- space below the cell, defaults to allAppsBorderSpace if not specified -->
  320. <attr name="allAppsBorderSpaceVertical" format="float" />
  321. <!-- space to be used horizontally and vertically,
  322. defaults to allAppsBorderSpace if not specified -->
  323. <attr name="allAppsBorderSpaceLandscape" format="float" />
  324. <!-- space to the right of the cell, defaults to allAppsBorderSpaceLandscape
  325. if not specified -->
  326. <attr name="allAppsBorderSpaceLandscapeHorizontal" format="float" />
  327. <!-- space below the cell, defaults to allAppsBorderSpaceLandscape if not specified -->
  328. <attr name="allAppsBorderSpaceLandscapeVertical" format="float" />
  329. <!-- space to be used horizontally and vertically in two panels,
  330. defaults to allAppsBorderSpace if not specified -->
  331. <attr name="allAppsBorderSpaceTwoPanelPortrait" format="float" />
  332. <!-- space to the right of the cell in two panels, defaults to
  333. allAppsBorderSpaceTwoPanelPortrait if not specified -->
  334. <attr name="allAppsBorderSpaceTwoPanelPortraitHorizontal" format="float" />
  335. <!-- space below the cell in two panels, defaults to allAppsBorderSpaceTwoPanelPortrait
  336. if not specified -->
  337. <attr name="allAppsBorderSpaceTwoPanelPortraitVertical" format="float" />
  338. <!-- space to be used horizontally and vertically in two panels,
  339. defaults to allAppsBorderSpace if not specified -->
  340. <attr name="allAppsBorderSpaceTwoPanelLandscape" format="float" />
  341. <!-- space to the right of the cell in two panels, defaults to
  342. allAppsBorderSpaceTwoPanelLandscape if not specified -->
  343. <attr name="allAppsBorderSpaceTwoPanelLandscapeHorizontal" format="float" />
  344. <!-- space below the cell in two panels, defaults to allAppsBorderSpaceTwoPanelLandscape
  345. if not specified -->
  346. <attr name="allAppsBorderSpaceTwoPanelLandscapeVertical" format="float" />
  347. <!-- defaults to res.hotseat_bar_bottom_space_default, if not specified -->
  348. <attr name="hotseatBarBottomSpace" format="float" />
  349. <!-- defaults to hotseatBarBottomSpace, if not specified -->
  350. <attr name="hotseatBarBottomSpaceLandscape" format="float" />
  351. <!-- defaults to hotseatBarBottomSpace, if not specified -->
  352. <attr name="hotseatBarBottomSpaceTwoPanelLandscape" format="float" />
  353. <!-- defaults to hotseatBarBottomSpace, if not specified -->
  354. <attr name="hotseatBarBottomSpaceTwoPanelPortrait" format="float" />
  355. <!-- defaults to res.hotseat_qsb_space_default, if not specified -->
  356. <attr name="hotseatQsbSpace" format="float" />
  357. <!-- defaults to hotseatQsbSpace, if not specified -->
  358. <attr name="hotseatQsbSpaceLandscape" format="float" />
  359. <!-- defaults to hotseatQsbSpace, if not specified -->
  360. <attr name="hotseatQsbSpaceTwoPanelLandscape" format="float" />
  361. <!-- defaults to hotseatQsbSpace, if not specified -->
  362. <attr name="hotseatQsbSpaceTwoPanelPortrait" format="float" />
  363. <!-- defaults to res.taskbar_icon_size, if not specified -->
  364. <attr name="transientTaskbarIconSize" format="float" />
  365. <!-- defaults to transientTaskbarIconSize, if not specified -->
  366. <attr name="transientTaskbarIconSizeLandscape" format="float" />
  367. <!-- defaults to transientTaskbarIconSize, if not specified -->
  368. <attr name="transientTaskbarIconSizeTwoPanelLandscape" format="float" />
  369. <!-- defaults to transientTaskbarIconSize, if not specified -->
  370. <attr name="transientTaskbarIconSizeTwoPanelPortrait" format="float" />
  371. <attr name="iconImageSize" format="float" />
  372. <!-- defaults to iconImageSize, if not specified -->
  373. <attr name="iconSizeLandscape" format="float" />
  374. <!-- defaults to iconSize, if not specified -->
  375. <attr name="iconSizeTwoPanelPortrait" format="float" />
  376. <!-- defaults to iconSize, if not specified -->
  377. <attr name="iconSizeTwoPanelLandscape" format="float" />
  378. <attr name="iconTextSize" format="float" />
  379. <!-- defaults to iconTextSize, if not specified -->
  380. <attr name="iconTextSizeLandscape" format="float" />
  381. <!-- defaults to iconTextSize, if not specified -->
  382. <attr name="iconTextSizeTwoPanelPortrait" format="float" />
  383. <!-- defaults to iconTextSize, if not specified -->
  384. <attr name="iconTextSizeTwoPanelLandscape" format="float" />
  385. <!-- If true, used to layout taskbar in 3 button navigation mode. -->
  386. <!-- defaults to false if not specified -->
  387. <attr name="startAlignTaskbar" format="boolean" />
  388. <!-- defaults to startAlignTaskbar, if not specified -->
  389. <attr name="startAlignTaskbarLandscape" format="boolean" />
  390. <!-- defaults to startAlignTaskbarLandscape, if not specified -->
  391. <attr name="startAlignTaskbarTwoPanelLandscape" format="boolean" />
  392. <!-- defaults to startAlignTaskbar, if not specified -->
  393. <attr name="startAlignTaskbarTwoPanelPortrait" format="boolean" />
  394. <!-- If set, this display option is used to determine the default grid -->
  395. <attr name="canBeDefault" format="boolean" />
  396. <!-- Margin on left and right of the workspace when GridDisplayOption#isScalable is true -->
  397. <attr name="horizontalMargin" format="float"/>
  398. <!-- defaults to horizontalMargin if not specified -->
  399. <attr name="horizontalMarginLandscape" format="float"/>
  400. <!-- defaults to horizontalMargin if not specified -->
  401. <attr name="horizontalMarginTwoPanelLandscape" format="float"/>
  402. <!-- defaults to horizontalMargin if not specified -->
  403. <attr name="horizontalMarginTwoPanelPortrait" format="float"/>
  404. </declare-styleable>
  405. <declare-styleable name="FolderStyle">
  406. <!-- defaults to minCellHeight if not specified
  407. when GridDisplayOption#isScalable is true. -->
  408. <attr name="folderCellHeight" format="dimension" />
  409. <!-- defaults to minCellWidth, if not specified -->
  410. <attr name="folderCellWidth" format="dimension" />
  411. <!-- space to be used horizontally and vertically between icons,
  412. and to the left and right of folder -->
  413. <attr name="folderBorderSpace" format="dimension" />
  414. <!-- height of the footer of the folder -->
  415. <attr name="folderFooterHeight" format="dimension" />
  416. <!-- padding on top of the folder -->
  417. <attr name="folderTopPadding" format="dimension" />
  418. </declare-styleable>
  419. <declare-styleable name="CellLayout">
  420. <attr name="containerType" format="integer">
  421. <enum name="workspace" value="0" />
  422. <enum name="hotseat" value="1" />
  423. <enum name="folder" value="2" />
  424. </attr>
  425. </declare-styleable>
  426. <declare-styleable name="CellStyle">
  427. <attr name="iconDrawablePadding" format="dimension" />
  428. </declare-styleable>
  429. <declare-styleable name="AllAppsStyle">
  430. <attr name="horizontalPadding" format="dimension" />
  431. </declare-styleable>
  432. <declare-styleable name="ShadowDrawable">
  433. <attr name="android:src" />
  434. <attr name="android:shadowColor" />
  435. <attr name="android:elevation" />
  436. <attr name="darkTintColor" format="color" />
  437. </declare-styleable>
  438. <declare-styleable name="RecyclerViewFastScroller">
  439. <attr name="canThumbDetach" format="boolean" />
  440. </declare-styleable>
  441. <declare-styleable name="LoggablePref">
  442. <attr name="android:key" />
  443. <attr name="android:defaultValue" />
  444. <!-- Ground truth of this Pref integer can be found in StatsLogManager -->
  445. <attr name="logIdOn" format="integer" />
  446. <attr name="logIdOff" format="integer" />
  447. </declare-styleable>
  448. <declare-styleable name="PreviewFragment">
  449. <attr name="android:name" />
  450. <attr name="android:id" />
  451. </declare-styleable>
  452. <declare-styleable name="WidgetsListRowHeader">
  453. <attr name="appIconSize" format="dimension" />
  454. </declare-styleable>
  455. <attr name="materialColorOnSecondaryFixedVariant" format="color" />
  456. <attr name="materialColorOnTertiaryFixedVariant" format="color" />
  457. <attr name="materialColorSurfaceContainerLowest" format="color" />
  458. <attr name="materialColorOnPrimaryFixedVariant" format="color" />
  459. <attr name="materialColorOnSecondaryContainer" format="color" />
  460. <attr name="materialColorOnTertiaryContainer" format="color" />
  461. <attr name="materialColorSurfaceContainerLow" format="color" />
  462. <attr name="materialColorOnPrimaryContainer" format="color" />
  463. <attr name="materialColorSecondaryFixedDim" format="color" />
  464. <attr name="materialColorOnErrorContainer" format="color" />
  465. <attr name="materialColorOnSecondaryFixed" format="color" />
  466. <attr name="materialColorOnSurfaceInverse" format="color" />
  467. <attr name="materialColorTertiaryFixedDim" format="color" />
  468. <attr name="materialColorOnTertiaryFixed" format="color" />
  469. <attr name="materialColorPrimaryFixedDim" format="color" />
  470. <attr name="materialColorSecondaryContainer" format="color" />
  471. <attr name="materialColorErrorContainer" format="color" />
  472. <attr name="materialColorOnPrimaryFixed" format="color" />
  473. <attr name="materialColorPrimaryInverse" format="color" />
  474. <attr name="materialColorSecondaryFixed" format="color" />
  475. <attr name="materialColorTertiaryContainer" format="color" />
  476. <attr name="materialColorTertiaryFixed" format="color" />
  477. <attr name="materialColorPrimaryContainer" format="color" />
  478. <attr name="materialColorOnBackground" format="color" />
  479. <attr name="materialColorPrimaryFixed" format="color" />
  480. <attr name="materialColorOnSecondary" format="color" />
  481. <attr name="materialColorOnTertiary" format="color" />
  482. <attr name="materialColorOnError" format="color" />
  483. <attr name="materialColorOnSurfaceVariant" format="color" />
  484. <attr name="materialColorOutline" format="color" />
  485. <attr name="materialColorOutlineVariant" format="color" />
  486. <attr name="materialColorOnPrimary" format="color" />
  487. <attr name="materialColorOnSurface" format="color" />
  488. <attr name="materialColorPrimary" format="color" />
  489. <attr name="materialColorSecondary" format="color" />
  490. <attr name="materialColorTertiary" format="color" />
  491. <attr name="materialColorSurfaceInverse" format="color" />
  492. <attr name="materialColorSurfaceVariant" format="color" />
  493. <attr name="materialColorSurfaceDim" format="color" />
  494. <attr name="materialColorSurfaceBright" format="color" />
  495. <attr name="materialColorSurface" format="color" />
  496. <attr name="materialColorSurfaceContainerHigh" format="color" />
  497. <attr name="materialColorSurfaceContainerHighest" format="color" />
  498. <attr name="materialColorSurfaceContainer" format="color" />
  499. <declare-styleable name="WidgetSections">
  500. <!-- Component name of an app widget provider. -->
  501. <attr name="provider" format="string" />
  502. <!-- If true, keep the app widget under its app listing in addition to the widget category
  503. in the widget picker. Defaults to false if not specified. -->
  504. <attr name="alsoKeepInApp" format="boolean" />
  505. <!-- The category of an app widget provider. Defaults to -1 if not specified. -->
  506. <attr name="category" format="integer" />
  507. <!-- The title name of a widget category. -->
  508. <attr name="sectionTitle" format="reference" />
  509. <!-- The icon drawable of a widget category. -->
  510. <attr name="sectionDrawable" format="reference" />
  511. </declare-styleable>
  512. </resources>