Home | History | Annotate | Download | only in values
      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>
     20 
     21     <!-- BubbleTextView specific attributes. -->
     22     <declare-styleable name="BubbleTextView">
     23         <attr name="layoutHorizontal" format="boolean" />
     24         <attr name="iconSizeOverride" format="dimension" />
     25         <attr name="iconDisplay" format="integer">
     26             <enum name="workspace" value="0" />
     27             <enum name="all_apps" value="1" />
     28             <enum name="folder" value="2" />
     29             <enum name="widget_section" value="3" />
     30             <enum name="shortcut_popup" value="4" />
     31         </attr>
     32         <attr name="deferShadowGeneration" format="boolean" />
     33         <attr name="customShadows" format="boolean" />
     34         <attr name="centerVertically" format="boolean" />
     35     </declare-styleable>
     36 
     37     <!-- PagedView specific attributes. These attributes are used to customize
     38          a PagedView view in XML files. -->
     39     <declare-styleable name="PagedView">
     40         <!-- The page indicator for this workspace -->
     41         <attr name="pageIndicator" format="reference" />
     42     </declare-styleable>
     43 
     44     <!-- BaseContainerView specific attributes. These attributes are used to customize
     45          AllApps view and WidgetsView in xml. -->
     46     <declare-styleable name="BaseContainerView">
     47         <!-- Drawable to use for the reveal animation -->
     48         <attr name="revealBackground" format="reference" />
     49     </declare-styleable>
     50 
     51     <!-- XML attributes used by default_workspace.xml -->
     52     <declare-styleable name="Favorite">
     53         <attr name="className" format="string" />
     54         <attr name="packageName" format="string" />
     55         <attr name="container" format="string" />
     56         <attr name="screen" format="string" />
     57         <attr name="x" format="string" />
     58         <attr name="y" format="string" />
     59         <attr name="spanX" format="string" />
     60         <attr name="spanY" format="string" />
     61         <attr name="icon" format="reference" />
     62         <attr name="title" format="string" />
     63         <attr name="uri" format="string" />
     64     </declare-styleable>
     65 
     66     <declare-styleable name="Extra">
     67         <attr name="key" format="string" />
     68         <attr name="value" format="string" />
     69     </declare-styleable>
     70     <declare-styleable name="Include">
     71         <attr name="workspace" format="reference" />
     72         <attr name="folderItems" format="reference" />
     73     </declare-styleable>
     74 
     75     <declare-styleable name="InsettableFrameLayout_Layout">
     76         <attr name="layout_ignoreInsets" format="boolean" />
     77     </declare-styleable>
     78 
     79     <declare-styleable name="ButtonDropTarget">
     80         <attr name="hideParentOnDisable" format="boolean" />
     81     </declare-styleable>
     82 
     83     <declare-styleable name="InvariantDeviceProfile">
     84         <attr name="name" format="string" />
     85         <attr name="minWidthDps" format="float" />
     86         <attr name="minHeightDps" format="float" />
     87 
     88         <attr name="numRows" format="integer" />
     89         <attr name="numColumns" format="integer" />
     90         <!-- numFolderRows & numFolderColumns defaults to numRows & numColumns, if not specified -->
     91         <attr name="numFolderRows" format="integer" />
     92         <attr name="numFolderColumns" format="integer" />
     93         <!-- minAllAppsPredictionColumns defaults to numColumns, if not specified -->
     94         <attr name="minAllAppsPredictionColumns" format="integer" />
     95         <!-- numHotseatIcons defaults to numColumns, if not specified -->
     96         <attr name="numHotseatIcons" format="integer" />
     97 
     98         <attr name="iconSize" format="float" />
     99         <attr name="iconTextSize" format="float" />
    100         <!-- hotseatIconSize defaults to iconSize, if not specified -->
    101         <attr name="hotseatIconSize" format="float" />
    102 
    103         <attr name="defaultLayoutId" format="reference" />
    104     </declare-styleable>
    105 
    106     <declare-styleable name="CellLayout">
    107         <attr name="containerType" format="integer">
    108             <enum name="workspace" value="0" />
    109             <enum name="hotseat" value="1" />
    110             <enum name="folder" value="2" />
    111         </attr>
    112     </declare-styleable>
    113 
    114 </resources>
    115