The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 1 | <?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 Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 20 | |
Winson Chung | b745afb | 2015-03-02 11:51:23 -0800 | [diff] [blame] | 21 | <!-- BubbleTextView specific attributes. --> |
| 22 | <declare-styleable name="BubbleTextView"> |
| 23 | <attr name="layoutHorizontal" format="boolean" /> |
| 24 | <attr name="iconSizeOverride" format="dimension" /> |
Sunny Goyal | dfaccf6 | 2015-05-11 16:30:44 -0700 | [diff] [blame] | 25 | <attr name="iconDisplay" format="integer"> |
| 26 | <enum name="workspace" value="0" /> |
| 27 | <enum name="all_apps" value="1" /> |
Sunny Goyal | 0e08f16 | 2015-05-12 11:32:39 -0700 | [diff] [blame] | 28 | <enum name="widget_section" value="2" /> |
Sunny Goyal | dfaccf6 | 2015-05-11 16:30:44 -0700 | [diff] [blame] | 29 | </attr> |
Winson Chung | 93f98ea | 2015-03-10 16:28:47 -0700 | [diff] [blame] | 30 | <attr name="deferShadowGeneration" format="boolean" /> |
Adam Cohen | 2670980 | 2015-03-21 09:18:40 -0700 | [diff] [blame] | 31 | <attr name="customShadows" format="boolean" /> |
Winson | 1f06427 | 2016-07-18 17:18:02 -0700 | [diff] [blame] | 32 | <attr name="centerVertically" format="boolean" /> |
Winson Chung | b745afb | 2015-03-02 11:51:23 -0800 | [diff] [blame] | 33 | </declare-styleable> |
| 34 | |
Winson Chung | 321e9ee | 2010-08-09 13:37:56 -0700 | [diff] [blame] | 35 | <!-- PagedView specific attributes. These attributes are used to customize |
| 36 | a PagedView view in XML files. --> |
| 37 | <declare-styleable name="PagedView"> |
Winson Chung | d2be381 | 2013-07-16 11:11:32 -0700 | [diff] [blame] | 38 | <!-- The page indicator for this workspace --> |
| 39 | <attr name="pageIndicator" format="reference" /> |
Winson Chung | 321e9ee | 2010-08-09 13:37:56 -0700 | [diff] [blame] | 40 | </declare-styleable> |
| 41 | |
Sunny Goyal | 0ac7ede | 2016-01-29 13:14:14 -0800 | [diff] [blame] | 42 | <!-- 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 Project | f96811c | 2009-03-18 17:39:48 -0700 | [diff] [blame] | 49 | <!-- 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 Chung | 3d503fb | 2011-07-13 17:25:49 -0700 | [diff] [blame] | 53 | <attr name="container" format="string" /> |
The Android Open Source Project | f96811c | 2009-03-18 17:39:48 -0700 | [diff] [blame] | 54 | <attr name="screen" format="string" /> |
| 55 | <attr name="x" format="string" /> |
| 56 | <attr name="y" format="string" /> |
Mike Cleron | b87bd16 | 2009-10-30 16:36:56 -0700 | [diff] [blame] | 57 | <attr name="spanX" format="string" /> |
| 58 | <attr name="spanY" format="string" /> |
Sunny Goyal | eba87b1 | 2016-02-26 09:44:27 -0800 | [diff] [blame] | 59 | <attr name="icon" format="reference" /> |
| 60 | <attr name="title" format="string" /> |
Mike Cleron | b87bd16 | 2009-10-30 16:36:56 -0700 | [diff] [blame] | 61 | <attr name="uri" format="string" /> |
The Android Open Source Project | f96811c | 2009-03-18 17:39:48 -0700 | [diff] [blame] | 62 | </declare-styleable> |
Adam Cohen | cee8c66 | 2014-10-16 09:49:52 -0700 | [diff] [blame] | 63 | |
Winson Chung | b3302ae | 2012-05-01 10:19:14 -0700 | [diff] [blame] | 64 | <declare-styleable name="Extra"> |
| 65 | <attr name="key" format="string" /> |
| 66 | <attr name="value" format="string" /> |
| 67 | </declare-styleable> |
Daniel Sandler | 57dac26 | 2013-10-03 13:28:36 -0400 | [diff] [blame] | 68 | <declare-styleable name="Include"> |
| 69 | <attr name="workspace" format="reference" /> |
Adam Cohen | cee8c66 | 2014-10-16 09:49:52 -0700 | [diff] [blame] | 70 | <attr name="folderItems" format="reference" /> |
Daniel Sandler | 57dac26 | 2013-10-03 13:28:36 -0400 | [diff] [blame] | 71 | </declare-styleable> |
Winson Chung | 2816ca5 | 2012-05-23 15:14:34 -0700 | [diff] [blame] | 72 | |
Sunny Goyal | 95abbb3 | 2014-08-04 10:53:22 -0700 | [diff] [blame] | 73 | <declare-styleable name="PreloadIconDrawable"> |
Sunny Goyal | 59871ef | 2016-02-24 00:27:08 +0000 | [diff] [blame] | 74 | <attr name="background" format="reference" /> |
Sunny Goyal | 95abbb3 | 2014-08-04 10:53:22 -0700 | [diff] [blame] | 75 | <attr name="ringOutset" format="dimension" /> |
| 76 | <attr name="indicatorSize" format="dimension" /> |
| 77 | </declare-styleable> |
Adam Cohen | be25822 | 2014-10-24 16:45:59 -0700 | [diff] [blame] | 78 | |
| 79 | <declare-styleable name="InsettableFrameLayout_Layout"> |
| 80 | <attr name="layout_ignoreInsets" format="boolean" /> |
| 81 | </declare-styleable> |
Sunny Goyal | f37a214 | 2016-03-24 17:28:25 -0700 | [diff] [blame] | 82 | |
| 83 | <declare-styleable name="ButtonDropTarget"> |
| 84 | <attr name="hideParentOnDisable" format="boolean" /> |
| 85 | </declare-styleable> |
Andrew Sapperstein | 5f7750d | 2016-06-20 12:48:22 -0700 | [diff] [blame] | 86 | |
| 87 | <!-- Fallback attr for pre-API 25 support --> |
| 88 | <attr name="colorSecondary" format="reference|color" /> |
Sunny Goyal | 819e193 | 2016-07-07 16:43:58 -0700 | [diff] [blame] | 89 | |
| 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 Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 113 | </resources> |