blob: 3cfaf02d08960867c7224b66e0a915805a4005a2 [file] [log] [blame]
The Android Open Source Project31dd5032009-03-03 19:32:27 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/* Copyright 2008, The Android Open Source Project
4**
5** Licensed under the Apache License, Version 2.0 (the "License");
6** you may not use this file except in compliance with the License.
7** You may obtain a copy of the License at
8**
9** http://www.apache.org/licenses/LICENSE-2.0
10**
11** Unless required by applicable law or agreed to in writing, software
12** distributed under the License is distributed on an "AS IS" BASIS,
13** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14** See the License for the specific language governing permissions and
15** limitations under the License.
16*/
17-->
18
19<resources>
The Android Open Source Project31dd5032009-03-03 19:32:27 -080020
Winson Chungb745afb2015-03-02 11:51:23 -080021 <!-- BubbleTextView specific attributes. -->
22 <declare-styleable name="BubbleTextView">
23 <attr name="layoutHorizontal" format="boolean" />
24 <attr name="iconSizeOverride" format="dimension" />
Sunny Goyaldfaccf62015-05-11 16:30:44 -070025 <attr name="iconDisplay" format="integer">
26 <enum name="workspace" value="0" />
27 <enum name="all_apps" value="1" />
Sunny Goyal0e08f162015-05-12 11:32:39 -070028 <enum name="widget_section" value="2" />
Sunny Goyaldfaccf62015-05-11 16:30:44 -070029 </attr>
Winson Chung93f98ea2015-03-10 16:28:47 -070030 <attr name="deferShadowGeneration" format="boolean" />
Adam Cohen26709802015-03-21 09:18:40 -070031 <attr name="customShadows" format="boolean" />
Winson1f064272016-07-18 17:18:02 -070032 <attr name="centerVertically" format="boolean" />
Winson Chungb745afb2015-03-02 11:51:23 -080033 </declare-styleable>
34
Winson Chung321e9ee2010-08-09 13:37:56 -070035 <!-- PagedView specific attributes. These attributes are used to customize
36 a PagedView view in XML files. -->
37 <declare-styleable name="PagedView">
Winson Chungd2be3812013-07-16 11:11:32 -070038 <!-- The page indicator for this workspace -->
39 <attr name="pageIndicator" format="reference" />
Winson Chung321e9ee2010-08-09 13:37:56 -070040 </declare-styleable>
41
Sunny Goyal0ac7ede2016-01-29 13:14:14 -080042 <!-- BaseContainerView specific attributes. These attributes are used to customize
43 AllApps view and WidgetsView in xml. -->
44 <declare-styleable name="BaseContainerView">
45 <!-- Drawable to use for the reveal animation -->
46 <attr name="revealBackground" format="reference" />
47 </declare-styleable>
48
The Android Open Source Projectf96811c2009-03-18 17:39:48 -070049 <!-- XML attributes used by default_workspace.xml -->
50 <declare-styleable name="Favorite">
51 <attr name="className" format="string" />
52 <attr name="packageName" format="string" />
Winson Chung3d503fb2011-07-13 17:25:49 -070053 <attr name="container" format="string" />
The Android Open Source Projectf96811c2009-03-18 17:39:48 -070054 <attr name="screen" format="string" />
55 <attr name="x" format="string" />
56 <attr name="y" format="string" />
Mike Cleronb87bd162009-10-30 16:36:56 -070057 <attr name="spanX" format="string" />
58 <attr name="spanY" format="string" />
Sunny Goyaleba87b12016-02-26 09:44:27 -080059 <attr name="icon" format="reference" />
60 <attr name="title" format="string" />
Mike Cleronb87bd162009-10-30 16:36:56 -070061 <attr name="uri" format="string" />
The Android Open Source Projectf96811c2009-03-18 17:39:48 -070062 </declare-styleable>
Adam Cohencee8c662014-10-16 09:49:52 -070063
Winson Chungb3302ae2012-05-01 10:19:14 -070064 <declare-styleable name="Extra">
65 <attr name="key" format="string" />
66 <attr name="value" format="string" />
67 </declare-styleable>
Daniel Sandler57dac262013-10-03 13:28:36 -040068 <declare-styleable name="Include">
69 <attr name="workspace" format="reference" />
Adam Cohencee8c662014-10-16 09:49:52 -070070 <attr name="folderItems" format="reference" />
Daniel Sandler57dac262013-10-03 13:28:36 -040071 </declare-styleable>
Winson Chung2816ca52012-05-23 15:14:34 -070072
Sunny Goyal95abbb32014-08-04 10:53:22 -070073 <declare-styleable name="PreloadIconDrawable">
Sunny Goyal59871ef2016-02-24 00:27:08 +000074 <attr name="background" format="reference" />
Sunny Goyal95abbb32014-08-04 10:53:22 -070075 <attr name="ringOutset" format="dimension" />
76 <attr name="indicatorSize" format="dimension" />
77 </declare-styleable>
Adam Cohenbe258222014-10-24 16:45:59 -070078
79 <declare-styleable name="InsettableFrameLayout_Layout">
80 <attr name="layout_ignoreInsets" format="boolean" />
81 </declare-styleable>
Sunny Goyalf37a2142016-03-24 17:28:25 -070082
83 <declare-styleable name="ButtonDropTarget">
84 <attr name="hideParentOnDisable" format="boolean" />
85 </declare-styleable>
Andrew Sapperstein5f7750d2016-06-20 12:48:22 -070086
87 <!-- Fallback attr for pre-API 25 support -->
88 <attr name="colorSecondary" format="reference|color" />
Sunny Goyal819e1932016-07-07 16:43:58 -070089
90 <declare-styleable name="InvariantDeviceProfile">
91 <attr name="name" format="string" />
92 <attr name="minWidthDps" format="float" />
93 <attr name="minHeightDps" format="float" />
94
95 <attr name="numRows" format="integer" />
96 <attr name="numColumns" format="integer" />
97 <!-- numFolderRows & numFolderColumns defaults to numRows & numColumns, if not specified -->
98 <attr name="numFolderRows" format="integer" />
99 <attr name="numFolderColumns" format="integer" />
100 <!-- minAllAppsPredictionColumns defaults to numColumns, if not specified -->
101 <attr name="minAllAppsPredictionColumns" format="integer" />
102 <!-- numHotseatIcons defaults to numColumns, if not specified -->
103 <attr name="numHotseatIcons" format="integer" />
104
105 <attr name="iconSize" format="float" />
106 <attr name="iconTextSize" format="float" />
107 <!-- hotseatIconSize defaults to iconSize, if not specified -->
108 <attr name="hotseatIconSize" format="float" />
109
110 <attr name="defaultLayoutId" format="reference" />
111 </declare-styleable>
112
The Android Open Source Project31dd5032009-03-03 19:32:27 -0800113</resources>