attrs.xml 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504
  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="popupShadeFirst" format="color" />
  27. <attr name="popupShadeSecond" format="color" />
  28. <attr name="popupShadeThird" format="color" />
  29. <attr name="isMainColorDark" format="boolean" />
  30. <attr name="isWorkspaceDarkText" format="boolean" />
  31. <attr name="workspaceTextColor" format="color" />
  32. <attr name="workspaceShadowColor" format="color" />
  33. <attr name="workspaceAmbientShadowColor" format="color" />
  34. <attr name="workspaceKeyShadowColor" format="color" />
  35. <attr name="workspaceStatusBarScrim" format="reference" />
  36. <attr name="widgetsTheme" format="reference" />
  37. <attr name="iconOnlyShortcutColor" format="color" />
  38. <attr name="eduHalfSheetBGColor" format="color" />
  39. <attr name="overviewScrimColor" format="color" />
  40. <attr name="popupNotificationDotColor" format="color" />
  41. <attr name="folderDotColor" format="color" />
  42. <attr name="folderPaginationColor" format="color" />
  43. <attr name="folderPreviewColor" format="color" />
  44. <attr name="folderBackgroundColor" format="color" />
  45. <attr name="folderIconRadius" format="float" />
  46. <attr name="folderIconBorderColor" format="color" />
  47. <attr name="folderTextColor" format="color" />
  48. <attr name="folderHintColor" format="color" />
  49. <attr name="isFolderDarkText" format="boolean" />
  50. <attr name="workspaceAccentColor" format="color" />
  51. <attr name="dropTargetHoverTextColor" format="color" />
  52. <attr name="preloadIconAccentColor" format="color" />
  53. <attr name="preloadIconBackgroundColor" format="color" />
  54. <attr name="widgetPickerHeaderAppTitleColor" format="color"/>
  55. <attr name="widgetPickerHeaderAppSubtitleColor" format="color"/>
  56. <!-- BubbleTextView specific attributes. -->
  57. <declare-styleable name="BubbleTextView">
  58. <attr name="layoutHorizontal" format="boolean" />
  59. <attr name="iconSizeOverride" format="dimension" />
  60. <attr name="iconDisplay" format="integer">
  61. <enum name="workspace" value="0" />
  62. <enum name="all_apps" value="1" />
  63. <enum name="folder" value="2" />
  64. <enum name="widget_section" value="3" />
  65. <enum name="shortcut_popup" value="4" />
  66. <enum name="taskbar" value="5" />
  67. <enum name="search_result_tall" value="6" />
  68. <enum name="search_result_small" value="7" />
  69. </attr>
  70. <attr name="centerVertically" format="boolean" />
  71. </declare-styleable>
  72. <!-- BubbleTextView specific attributes. -->
  73. <declare-styleable name="FolderIconPreview">
  74. <attr name="folderPreviewColor" />
  75. <attr name="folderIconBorderColor" />
  76. <attr name="folderDotColor" />
  77. </declare-styleable>
  78. <declare-styleable name="SearchResultSuggestion">
  79. <attr name="customIcon" format="reference" />
  80. <attr name="matchTextInsetWithQuery" format="boolean" />
  81. </declare-styleable>
  82. <declare-styleable name="ShadowInfo">
  83. <attr name="ambientShadowColor" format="color" />
  84. <attr name="ambientShadowBlur" format="dimension" />
  85. <attr name="keyShadowColor" format="color" />
  86. <attr name="keyShadowBlur" format="dimension" />
  87. <attr name="keyShadowOffsetX" format="dimension" />
  88. <attr name="keyShadowOffsetY" format="dimension" />
  89. </declare-styleable>
  90. <!-- PagedView specific attributes. These attributes are used to customize
  91. a PagedView view in XML files. -->
  92. <declare-styleable name="PagedView">
  93. <!-- The page indicator for this workspace -->
  94. <attr name="pageIndicator" format="reference" />
  95. </declare-styleable>
  96. <!-- XML attributes used by default_workspace.xml -->
  97. <declare-styleable name="Favorite">
  98. <attr name="className" format="string" />
  99. <attr name="packageName" format="string" />
  100. <attr name="container" format="string" />
  101. <attr name="screen" format="string" />
  102. <attr name="x" format="string" />
  103. <attr name="y" format="string" />
  104. <attr name="spanX" format="string" />
  105. <attr name="spanY" format="string" />
  106. <attr name="icon" format="reference" />
  107. <attr name="title" format="string" />
  108. <attr name="uri" format="string" />
  109. </declare-styleable>
  110. <declare-styleable name="Extra">
  111. <attr name="key" format="string" />
  112. <attr name="value" format="string" />
  113. </declare-styleable>
  114. <declare-styleable name="Include">
  115. <attr name="workspace" format="reference" />
  116. <attr name="folderItems" format="reference" />
  117. </declare-styleable>
  118. <declare-styleable name="InsettableFrameLayout_Layout">
  119. <attr name="layout_ignoreInsets" format="boolean" />
  120. </declare-styleable>
  121. <declare-styleable name="StickyScroller_Layout">
  122. <attr name="layout_sticky" format="boolean" />
  123. </declare-styleable>
  124. <declare-styleable name="GridDisplayOption">
  125. <attr name="name" format="string" />
  126. <attr name="numRows" format="integer" />
  127. <attr name="numColumns" format="integer" />
  128. <!-- numSearchContainerColumns defaults to numColumns, if not specified -->
  129. <attr name="numSearchContainerColumns" format="integer" />
  130. <!-- Support attributes in CellStyle. defaults to CellStyleDefault -->
  131. <attr name="cellStyle" format="reference" />
  132. <!-- numFolderRows & numFolderColumns defaults to numRows & numColumns, if not specified -->
  133. <attr name="numFolderRows" format="integer" />
  134. <attr name="numFolderColumns" format="integer" />
  135. <!-- Support attributes in FolderStyle -->
  136. <attr name="folderStyle" format="reference" />
  137. <!-- Support attributes in AllAppsStyle. Defaults to AllAppsStyleDefault -->
  138. <attr name="allAppsStyle" format="reference" />
  139. <!-- numAllAppsColumns defaults to numColumns, if not specified -->
  140. <attr name="numAllAppsColumns" format="integer" />
  141. <!-- Number of columns to use when extending the all-apps size,
  142. defaults to 2 * numAllAppsColumns -->
  143. <attr name="numExtendedAllAppsColumns" format="integer" />
  144. <!-- numHotseatIcons defaults to numColumns, if not specified -->
  145. <attr name="numHotseatIcons" format="integer" />
  146. <!-- Number of icons to use when extending the hotseat size,
  147. defaults to 2 * numHotseatIcons -->
  148. <attr name="numExtendedHotseatIcons" format="integer" />
  149. <!-- alignment of hotseat to the grid.
  150. Not applicable for 3 button mode when taskbar is enabled -->
  151. <!-- defaults to numColumns, if not specified -->
  152. <attr name="hotseatColumnSpan" format="integer" />
  153. <!-- defaults to numColumns, if not specified -->
  154. <attr name="hotseatColumnSpanLandscape" format="integer" />
  155. <!-- defaults to numColumns, if not specified -->
  156. <attr name="hotseatColumnSpanTwoPanelLandscape" format="integer" />
  157. <!-- defaults to numColumns, if not specified -->
  158. <attr name="hotseatColumnSpanTwoPanelPortrait" format="integer" />
  159. <!-- Spacing to have at the end of the nav buttons in large screen 3 button nav,
  160. defaults to @dimen/taskbar_button_margin_default -->
  161. <attr name="inlineNavButtonsEndSpacing" format="reference" />
  162. <attr name="dbFile" format="string" />
  163. <attr name="defaultLayoutId" format="reference" />
  164. <attr name="demoModeLayoutId" format="reference" />
  165. <attr name="isScalable" format="boolean" />
  166. <attr name="devicePaddingId" format="reference" />
  167. <!-- By default all categories are enabled -->
  168. <attr name="deviceCategory" format="integer">
  169. <!-- Enable on phone only -->
  170. <flag name="phone" value="1" />
  171. <!-- Enable on tablets only -->
  172. <flag name="tablet" value="2" />
  173. <!-- Enable on multi display devices only -->
  174. <flag name="multi_display" value="4" />
  175. </attr>
  176. <!-- By default all are false -->
  177. <attr name="inlineQsb" format="integer">
  178. <!-- Enable on landscape only -->
  179. <flag name="portrait" value="1" />
  180. <!-- Enable on portrait only -->
  181. <flag name="landscape" value="2" />
  182. <!-- Enable on two panel portrait only -->
  183. <flag name="twoPanelPortrait" value="4" />
  184. <!-- Enable on two panel landscape only -->
  185. <flag name="twoPanelLandscape" value="8" />
  186. </attr>
  187. </declare-styleable>
  188. <declare-styleable name="DevicePadding">
  189. <attr name="maxEmptySpace" format="dimension" />
  190. </declare-styleable>
  191. <declare-styleable name="DevicePaddingFormula">
  192. <attr name="a" format="float|dimension" />
  193. <attr name="b" format="float|dimension" />
  194. <attr name="c" format="float|dimension" />
  195. </declare-styleable>
  196. <declare-styleable name="PersonalWorkSlidingTabStrip">
  197. <attr name="alignOnIcon" format="boolean" />
  198. </declare-styleable>
  199. <!-- Responsive grids attributes -->
  200. <declare-styleable name="WorkspaceSpec">
  201. <attr name="specType" format="integer">
  202. <enum name="height" value="0" />
  203. <enum name="width" value="1" />
  204. </attr>
  205. <attr name="maxAvailableSize" format="dimension" />
  206. </declare-styleable>
  207. <declare-styleable name="SpecSize">
  208. <attr name="fixedSize" format="dimension" />
  209. <attr name="ofAvailableSpace" format="float" />
  210. <attr name="ofRemainderSpace" format="float" />
  211. </declare-styleable>
  212. <declare-styleable name="ProfileDisplayOption">
  213. <attr name="name" />
  214. <attr name="minWidthDps" format="float" />
  215. <attr name="minHeightDps" format="float" />
  216. <!-- These min cell values are only used if GridDisplayOption#isScalable is true -->
  217. <attr name="minCellHeight" format="float" />
  218. <attr name="minCellWidth" format="float" />
  219. <!-- defaults to minCellHeight, if not specified -->
  220. <attr name="minCellHeightLandscape" format="float" />
  221. <!-- defaults to minCellWidth, if not specified -->
  222. <attr name="minCellWidthLandscape" format="float" />
  223. <!-- defaults to minCellHeight, if not specified -->
  224. <attr name="minCellHeightTwoPanelPortrait" format="float" />
  225. <!-- defaults to minCellWidth, if not specified -->
  226. <attr name="minCellWidthTwoPanelPortrait" format="float" />
  227. <!-- defaults to minCellHeight, if not specified -->
  228. <attr name="minCellHeightTwoPanelLandscape" format="float" />
  229. <!-- defaults to minCellWidth, if not specified -->
  230. <attr name="minCellWidthTwoPanelLandscape" format="float" />
  231. <!-- These border spaces are only used if GridDisplayOption#isScalable is true -->
  232. <!-- space to be used horizontally and vertically -->
  233. <attr name="borderSpace" format="float" />
  234. <!-- space to the right of the cell, defaults to borderSpace if not specified -->
  235. <attr name="borderSpaceHorizontal" format="float" />
  236. <!-- space below the cell, defaults to borderSpace if not specified -->
  237. <attr name="borderSpaceVertical" format="float" />
  238. <!-- space to be used horizontally and vertically,
  239. defaults to borderSpace if not specified -->
  240. <attr name="borderSpaceLandscape" format="float" />
  241. <!-- space to the right of the cell, defaults to borderSpaceLandscape if not specified -->
  242. <attr name="borderSpaceLandscapeHorizontal" format="float" />
  243. <!-- space below the cell, defaults to borderSpaceLandscape if not specified -->
  244. <attr name="borderSpaceLandscapeVertical" format="float" />
  245. <!-- space to be used horizontally and vertically in two panels,
  246. defaults to borderSpace if not specified -->
  247. <attr name="borderSpaceTwoPanelPortrait" format="float" />
  248. <!-- space to the right of the cell in two panels, defaults to
  249. borderSpaceTwoPanelPortrait if not specified -->
  250. <attr name="borderSpaceTwoPanelPortraitHorizontal" format="float" />
  251. <!-- space below the cell in two panels, defaults to borderSpaceTwoPanelPortrait
  252. if not specified -->
  253. <attr name="borderSpaceTwoPanelPortraitVertical" format="float" />
  254. <!-- space to be used horizontally and vertically in two panels,
  255. defaults to borderSpace if not specified -->
  256. <attr name="borderSpaceTwoPanelLandscape" format="float" />
  257. <!-- space to the right of the cell in two panels, defaults to
  258. borderSpaceTwoPanelLandscape if not specified -->
  259. <attr name="borderSpaceTwoPanelLandscapeHorizontal" format="float" />
  260. <!-- space below the cell in two panels, defaults to borderSpaceTwoPanelLandscape
  261. if not specified -->
  262. <attr name="borderSpaceTwoPanelLandscapeVertical" format="float" />
  263. <!-- defaults to minCellHeight if not specified when GridDisplayOption#isScalable is true.
  264. Must be defined when GridDisplayOption#isScalable is false. -->
  265. <attr name="allAppsCellHeight" format="float" />
  266. <!-- These min cell values are only used if GridDisplayOption#isScalable is true -->
  267. <!-- defaults to minCellWidth, if not specified -->
  268. <attr name="allAppsCellWidth" format="float" />
  269. <!-- defaults to allAppsCellHeight, if not specified -->
  270. <attr name="allAppsCellHeightLandscape" format="float" />
  271. <!-- defaults to allAppsCellWidth, if not specified -->
  272. <attr name="allAppsCellWidthLandscape" format="float" />
  273. <!-- defaults to allAppsCellHeight, if not specified -->
  274. <attr name="allAppsCellHeightTwoPanelPortrait" format="float" />
  275. <!-- defaults to allAppsCellWidth, if not specified -->
  276. <attr name="allAppsCellWidthTwoPanelPortrait" format="float" />
  277. <!-- defaults to allAppsCellHeight, if not specified -->
  278. <attr name="allAppsCellHeightTwoPanelLandscape" format="float" />
  279. <!-- defaults to allAppsCellWidth, if not specified -->
  280. <attr name="allAppsCellWidthTwoPanelLandscape" format="float" />
  281. <!-- The following values are only enabled if grid is supported. -->
  282. <!-- defaults to iconImageSize, if not specified -->
  283. <attr name="allAppsIconSize" format="float" />
  284. <!-- defaults to allAppsIconSize, if not specified -->
  285. <attr name="allAppsIconSizeLandscape" format="float" />
  286. <!-- defaults to allAppsIconSize, if not specified -->
  287. <attr name="allAppsIconSizeTwoPanelPortrait" format="float" />
  288. <!-- defaults to allAppsIconSize, if not specified -->
  289. <attr name="allAppsIconSizeTwoPanelLandscape" format="float" />
  290. <!-- defaults to iconTextSize, if not specified -->
  291. <attr name="allAppsIconTextSize" format="float" />
  292. <!-- defaults to allAppsIconTextSize, if not specified -->
  293. <attr name="allAppsIconTextSizeTwoPanelPortrait" format="float" />
  294. <!-- defaults to allAppsIconTextSize, if not specified -->
  295. <attr name="allAppsIconTextSizeTwoPanelLandscape" format="float" />
  296. <!-- defaults to borderSpace, if not specified -->
  297. <!-- space to be used horizontally and vertically -->
  298. <attr name="allAppsBorderSpace" format="float" />
  299. <!-- space to the right of the cell, defaults to allAppsBorderSpace if not specified -->
  300. <attr name="allAppsBorderSpaceHorizontal" format="float" />
  301. <!-- space below the cell, defaults to allAppsBorderSpace if not specified -->
  302. <attr name="allAppsBorderSpaceVertical" format="float" />
  303. <!-- space to be used horizontally and vertically,
  304. defaults to allAppsBorderSpace if not specified -->
  305. <attr name="allAppsBorderSpaceLandscape" format="float" />
  306. <!-- space to the right of the cell, defaults to allAppsBorderSpaceLandscape
  307. if not specified -->
  308. <attr name="allAppsBorderSpaceLandscapeHorizontal" format="float" />
  309. <!-- space below the cell, defaults to allAppsBorderSpaceLandscape if not specified -->
  310. <attr name="allAppsBorderSpaceLandscapeVertical" format="float" />
  311. <!-- space to be used horizontally and vertically in two panels,
  312. defaults to allAppsBorderSpace if not specified -->
  313. <attr name="allAppsBorderSpaceTwoPanelPortrait" format="float" />
  314. <!-- space to the right of the cell in two panels, defaults to
  315. allAppsBorderSpaceTwoPanelPortrait if not specified -->
  316. <attr name="allAppsBorderSpaceTwoPanelPortraitHorizontal" format="float" />
  317. <!-- space below the cell in two panels, defaults to allAppsBorderSpaceTwoPanelPortrait
  318. if not specified -->
  319. <attr name="allAppsBorderSpaceTwoPanelPortraitVertical" format="float" />
  320. <!-- space to be used horizontally and vertically in two panels,
  321. defaults to allAppsBorderSpace if not specified -->
  322. <attr name="allAppsBorderSpaceTwoPanelLandscape" format="float" />
  323. <!-- space to the right of the cell in two panels, defaults to
  324. allAppsBorderSpaceTwoPanelLandscape if not specified -->
  325. <attr name="allAppsBorderSpaceTwoPanelLandscapeHorizontal" format="float" />
  326. <!-- space below the cell in two panels, defaults to allAppsBorderSpaceTwoPanelLandscape
  327. if not specified -->
  328. <attr name="allAppsBorderSpaceTwoPanelLandscapeVertical" format="float" />
  329. <!-- defaults to res.hotseat_bar_bottom_space_default, if not specified -->
  330. <attr name="hotseatBarBottomSpace" format="float" />
  331. <!-- defaults to hotseatBarBottomSpace, if not specified -->
  332. <attr name="hotseatBarBottomSpaceLandscape" format="float" />
  333. <!-- defaults to hotseatBarBottomSpace, if not specified -->
  334. <attr name="hotseatBarBottomSpaceTwoPanelLandscape" format="float" />
  335. <!-- defaults to hotseatBarBottomSpace, if not specified -->
  336. <attr name="hotseatBarBottomSpaceTwoPanelPortrait" format="float" />
  337. <!-- defaults to res.hotseat_qsb_space_default, if not specified -->
  338. <attr name="hotseatQsbSpace" format="float" />
  339. <!-- defaults to hotseatQsbSpace, if not specified -->
  340. <attr name="hotseatQsbSpaceLandscape" format="float" />
  341. <!-- defaults to hotseatQsbSpace, if not specified -->
  342. <attr name="hotseatQsbSpaceTwoPanelLandscape" format="float" />
  343. <!-- defaults to hotseatQsbSpace, if not specified -->
  344. <attr name="hotseatQsbSpaceTwoPanelPortrait" format="float" />
  345. <!-- defaults to res.taskbar_icon_size, if not specified -->
  346. <attr name="transientTaskbarIconSize" format="float" />
  347. <!-- defaults to transientTaskbarIconSize, if not specified -->
  348. <attr name="transientTaskbarIconSizeLandscape" format="float" />
  349. <!-- defaults to transientTaskbarIconSize, if not specified -->
  350. <attr name="transientTaskbarIconSizeTwoPanelLandscape" format="float" />
  351. <!-- defaults to transientTaskbarIconSize, if not specified -->
  352. <attr name="transientTaskbarIconSizeTwoPanelPortrait" format="float" />
  353. <attr name="iconImageSize" format="float" />
  354. <!-- defaults to iconImageSize, if not specified -->
  355. <attr name="iconSizeLandscape" format="float" />
  356. <!-- defaults to iconSize, if not specified -->
  357. <attr name="iconSizeTwoPanelPortrait" format="float" />
  358. <!-- defaults to iconSize, if not specified -->
  359. <attr name="iconSizeTwoPanelLandscape" format="float" />
  360. <attr name="iconTextSize" format="float" />
  361. <!-- defaults to iconTextSize, if not specified -->
  362. <attr name="iconTextSizeLandscape" format="float" />
  363. <!-- defaults to iconTextSize, if not specified -->
  364. <attr name="iconTextSizeTwoPanelPortrait" format="float" />
  365. <!-- defaults to iconTextSize, if not specified -->
  366. <attr name="iconTextSizeTwoPanelLandscape" format="float" />
  367. <!-- If true, used to layout taskbar in 3 button navigation mode. -->
  368. <!-- defaults to false if not specified -->
  369. <attr name="startAlignTaskbar" format="boolean" />
  370. <!-- defaults to startAlignTaskbar, if not specified -->
  371. <attr name="startAlignTaskbarLandscape" format="boolean" />
  372. <!-- defaults to startAlignTaskbarLandscape, if not specified -->
  373. <attr name="startAlignTaskbarTwoPanelLandscape" format="boolean" />
  374. <!-- defaults to startAlignTaskbar, if not specified -->
  375. <attr name="startAlignTaskbarTwoPanelPortrait" format="boolean" />
  376. <!-- If set, this display option is used to determine the default grid -->
  377. <attr name="canBeDefault" format="boolean" />
  378. <!-- Margin on left and right of the workspace when GridDisplayOption#isScalable is true -->
  379. <attr name="horizontalMargin" format="float"/>
  380. <!-- defaults to horizontalMargin if not specified -->
  381. <attr name="horizontalMarginLandscape" format="float"/>
  382. <!-- defaults to horizontalMargin if not specified -->
  383. <attr name="horizontalMarginTwoPanelLandscape" format="float"/>
  384. <!-- defaults to horizontalMargin if not specified -->
  385. <attr name="horizontalMarginTwoPanelPortrait" format="float"/>
  386. </declare-styleable>
  387. <declare-styleable name="FolderStyle">
  388. <!-- defaults to minCellHeight if not specified
  389. when GridDisplayOption#isScalable is true. -->
  390. <attr name="folderCellHeight" format="dimension" />
  391. <!-- defaults to minCellWidth, if not specified -->
  392. <attr name="folderCellWidth" format="dimension" />
  393. <!-- space to be used horizontally and vertically between icons,
  394. and to the left and right of folder -->
  395. <attr name="folderBorderSpace" format="dimension" />
  396. <!-- height of the footer of the folder -->
  397. <attr name="folderFooterHeight" format="dimension" />
  398. <!-- padding on top of the folder -->
  399. <attr name="folderTopPadding" format="dimension" />
  400. </declare-styleable>
  401. <declare-styleable name="CellLayout">
  402. <attr name="containerType" format="integer">
  403. <enum name="workspace" value="0" />
  404. <enum name="hotseat" value="1" />
  405. <enum name="folder" value="2" />
  406. </attr>
  407. </declare-styleable>
  408. <declare-styleable name="CellStyle">
  409. <attr name="iconDrawablePadding" format="dimension" />
  410. </declare-styleable>
  411. <declare-styleable name="AllAppsStyle">
  412. <attr name="horizontalPadding" format="dimension" />
  413. </declare-styleable>
  414. <declare-styleable name="ShadowDrawable">
  415. <attr name="android:src" />
  416. <attr name="android:shadowColor" />
  417. <attr name="android:elevation" />
  418. <attr name="darkTintColor" format="color" />
  419. </declare-styleable>
  420. <declare-styleable name="RecyclerViewFastScroller">
  421. <attr name="canThumbDetach" format="boolean" />
  422. </declare-styleable>
  423. <declare-styleable name="LoggablePref">
  424. <attr name="android:key" />
  425. <attr name="android:defaultValue" />
  426. <!-- Ground truth of this Pref integer can be found in StatsLogManager -->
  427. <attr name="logIdOn" format="integer" />
  428. <attr name="logIdOff" format="integer" />
  429. </declare-styleable>
  430. <declare-styleable name="PreviewFragment">
  431. <attr name="android:name" />
  432. <attr name="android:id" />
  433. </declare-styleable>
  434. <declare-styleable name="WidgetsListRowHeader">
  435. <attr name="appIconSize" format="dimension" />
  436. </declare-styleable>
  437. <declare-styleable name="WidgetSections">
  438. <!-- Component name of an app widget provider. -->
  439. <attr name="provider" format="string" />
  440. <!-- If true, keep the app widget under its app listing in addition to the widget category
  441. in the widget picker. Defaults to false if not specified. -->
  442. <attr name="alsoKeepInApp" format="boolean" />
  443. <!-- The category of an app widget provider. Defaults to -1 if not specified. -->
  444. <attr name="category" format="integer" />
  445. <!-- The title name of a widget category. -->
  446. <attr name="sectionTitle" format="reference" />
  447. <!-- The icon drawable of a widget category. -->
  448. <attr name="sectionDrawable" format="reference" />
  449. </declare-styleable>
  450. </resources>