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     <!-- Page Indicator specific attributes. -->
     22     <declare-styleable name="PageIndicator">
     23         <attr name="windowSize" format="integer"  />
     24     </declare-styleable>
     25 
     26     <!-- Workspace specific attributes. These attributes are used to customize
     27          the workspace in XML files. -->
     28     <declare-styleable name="Workspace">
     29         <!-- The first screen the workspace should display. -->
     30         <attr name="defaultScreen" format="integer"  />
     31         <!-- The number of horizontal cells in the CellLayout -->
     32         <attr name="cellCountX" format="integer"  />
     33         <!-- The number of vertical cells in the CellLayout -->
     34         <attr name="cellCountY" format="integer"  />
     35     </declare-styleable>
     36     
     37     <!-- Hotseat specific attributes. These attributes are used to customize
     38          the hotseat in XML files. -->
     39     <declare-styleable name="Hotseat">
     40         <!-- The number of horizontal cells in the CellLayout -->
     41         <attr name="cellCountX" />
     42         <!-- The number of vertical cells in the CellLayout -->
     43         <attr name="cellCountY" />
     44     </declare-styleable>
     45 
     46     <!-- CellLayout specific attributes. These attributes are used to customize
     47          a CellLayout view in XML files. -->
     48     <declare-styleable name="CellLayout">
     49         <!-- The width of a single cell -->
     50         <attr name="cellWidth" format="dimension"  />
     51         <!-- The height of a single cell -->
     52         <attr name="cellHeight" format="dimension"  />
     53         <!-- An override for the width and height gap to allow users to specify
     54              a specific size for the page using spacing instead of resolving the
     55              spacing from the width of the page -->
     56         <attr name="widthGap" format="dimension" />
     57         <attr name="heightGap" format="dimension" />
     58         <!-- The max gap size for each dimension -->
     59         <attr name="maxGap" format="dimension" />
     60     </declare-styleable>
     61 
     62     <!-- StrokedTextView specific attributes. -->
     63     <declare-styleable name="StrokedTextView">
     64         <!-- The color of the stroke outline -->
     65         <attr name="strokeColor" format="color" />
     66         <!-- The color of the text -->
     67         <attr name="strokeTextColor" format="color" />
     68         <!-- The width of the stroke -->
     69         <attr name="strokeWidth" format="float" />
     70     </declare-styleable>
     71 
     72     <!-- PagedView specific attributes. These attributes are used to customize
     73          a PagedView view in XML files. -->
     74     <declare-styleable name="PagedView">
     75         <!-- A spacing override for the icons within a page -->
     76         <attr name="pageLayoutWidthGap" format="dimension" />
     77         <attr name="pageLayoutHeightGap" format="dimension" />
     78 
     79         <!-- The page indicator for this workspace -->
     80         <attr name="pageIndicator" format="reference" />
     81     </declare-styleable>
     82 
     83     <declare-styleable name="BubbleTextView">
     84         <!-- A spacing override for the icons within a page -->
     85         <attr name="customShadows" format="boolean" />
     86     </declare-styleable>
     87 
     88     <!-- AppsCustomizePagedView specific attributes.  These attributes are used to
     89          customize an AppsCustomizePagedView in xml files. -->
     90     <declare-styleable name="AppsCustomizePagedView">
     91         <!-- Max number of cells of applications horizontally -->
     92         <attr name="maxAppCellCountX" format="integer" />
     93         <!-- Max number of cells of applications vertically -->
     94         <attr name="maxAppCellCountY" format="integer" />
     95         <!-- Horizontal spacing between widgets and wallpapers -->
     96         <attr name="widgetCellWidthGap" format="dimension" />
     97         <!-- Vertical spacing between widgets -->
     98         <attr name="widgetCellHeightGap" format="dimension" />
     99         <!-- Number of widgets horizontally -->
    100         <attr name="widgetCountX" format="integer" />
    101         <!-- Number of widgets vertically -->
    102         <attr name="widgetCountY" format="integer" />
    103     </declare-styleable>
    104 
    105     <!-- XML attributes used by default_workspace.xml -->
    106     <declare-styleable name="Favorite">
    107         <attr name="className" format="string" />
    108         <attr name="packageName" format="string" />
    109         <attr name="container" format="string" />
    110         <attr name="screen" format="string" />
    111         <attr name="x" format="string" />
    112         <attr name="y" format="string" />
    113         <attr name="spanX" format="string" />
    114         <attr name="spanY" format="string" />
    115         <attr name="icon" format="reference" />  
    116         <attr name="title" format="reference" />
    117         <attr name="uri" format="string" />
    118     </declare-styleable>
    119 
    120     <declare-styleable name="Extra">
    121         <attr name="key" format="string" />
    122         <attr name="value" format="string" />
    123     </declare-styleable>
    124     <declare-styleable name="Include">
    125         <attr name="workspace" format="reference" />
    126         <attr name="folderItems" format="reference" />
    127     </declare-styleable>
    128 
    129     <declare-styleable name="PreloadIconDrawable">
    130         <attr name="background" format="reference" />
    131         <attr name="ringOutset" format="dimension" />
    132         <attr name="indicatorSize" format="dimension" />
    133     </declare-styleable>
    134 
    135     <declare-styleable name="InsettableFrameLayout_Layout">
    136         <attr name="layout_ignoreInsets" format="boolean" />
    137     </declare-styleable>
    138 </resources>
    139