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="widget_section" value="2" />
     29         </attr>
     30         <attr name="deferShadowGeneration" format="boolean" />
     31         <attr name="customShadows" format="boolean" />
     32     </declare-styleable>
     33 
     34     <!-- Page Indicator specific attributes. -->
     35     <declare-styleable name="PageIndicator">
     36         <attr name="windowSize" format="integer"  />
     37     </declare-styleable>
     38 
     39     <!-- Workspace specific attributes. These attributes are used to customize
     40          the workspace in XML files. -->
     41     <declare-styleable name="Workspace">
     42         <!-- The first screen the workspace should display. -->
     43         <attr name="defaultScreen" format="integer"  />
     44         <!-- The number of horizontal cells in the CellLayout -->
     45         <attr name="cellCountX" format="integer"  />
     46         <!-- The number of vertical cells in the CellLayout -->
     47         <attr name="cellCountY" format="integer"  />
     48     </declare-styleable>
     49     
     50     <!-- Hotseat specific attributes. These attributes are used to customize
     51          the hotseat in XML files. -->
     52     <declare-styleable name="Hotseat">
     53         <!-- The number of horizontal cells in the CellLayout -->
     54         <attr name="cellCountX" />
     55         <!-- The number of vertical cells in the CellLayout -->
     56         <attr name="cellCountY" />
     57     </declare-styleable>
     58 
     59     <!-- CellLayout specific attributes. These attributes are used to customize
     60          a CellLayout view in XML files. -->
     61     <declare-styleable name="CellLayout">
     62         <!-- The width of a single cell -->
     63         <attr name="cellWidth" format="dimension"  />
     64         <!-- The height of a single cell -->
     65         <attr name="cellHeight" format="dimension"  />
     66         <!-- An override for the width and height gap to allow users to specify
     67              a specific size for the page using spacing instead of resolving the
     68              spacing from the width of the page -->
     69         <attr name="widthGap" format="dimension" />
     70         <attr name="heightGap" format="dimension" />
     71         <!-- The max gap size for each dimension -->
     72         <attr name="maxGap" format="dimension" />
     73     </declare-styleable>
     74 
     75     <!-- PagedView specific attributes. These attributes are used to customize
     76          a PagedView view in XML files. -->
     77     <declare-styleable name="PagedView">
     78         <!-- A spacing override for the icons within a page -->
     79         <attr name="pageLayoutWidthGap" format="dimension" />
     80         <attr name="pageLayoutHeightGap" format="dimension" />
     81 
     82         <!-- The page indicator for this workspace -->
     83         <attr name="pageIndicator" format="reference" />
     84     </declare-styleable>
     85 
     86     <!-- BaseContainerView specific attributes. These attributes are used to customize
     87          AllApps view and WidgetsView in xml. -->
     88     <declare-styleable name="BaseContainerView">
     89         <!-- Drawable to use for the reveal animation -->
     90         <attr name="revealBackground" format="reference" />
     91     </declare-styleable>
     92 
     93     <!-- XML attributes used by default_workspace.xml -->
     94     <declare-styleable name="Favorite">
     95         <attr name="className" format="string" />
     96         <attr name="packageName" format="string" />
     97         <attr name="container" format="string" />
     98         <attr name="screen" format="string" />
     99         <attr name="x" format="string" />
    100         <attr name="y" format="string" />
    101         <attr name="spanX" format="string" />
    102         <attr name="spanY" format="string" />
    103         <attr name="icon" format="reference" />
    104         <attr name="title" format="string" />
    105         <attr name="uri" format="string" />
    106     </declare-styleable>
    107 
    108     <declare-styleable name="Extra">
    109         <attr name="key" format="string" />
    110         <attr name="value" format="string" />
    111     </declare-styleable>
    112     <declare-styleable name="Include">
    113         <attr name="workspace" format="reference" />
    114         <attr name="folderItems" format="reference" />
    115     </declare-styleable>
    116 
    117     <declare-styleable name="PreloadIconDrawable">
    118         <attr name="background" format="reference" />
    119         <attr name="ringOutset" format="dimension" />
    120         <attr name="indicatorSize" format="dimension" />
    121     </declare-styleable>
    122 
    123     <declare-styleable name="InsettableFrameLayout_Layout">
    124         <attr name="layout_ignoreInsets" format="boolean" />
    125     </declare-styleable>
    126 </resources>
    127