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     <!-- DrawableStateProxyView specific attributes. These attributes are used to customize
     22          a DrawableStateProxyView view in XML files. -->
     23     <declare-styleable name="DrawableStateProxyView">
     24         <!-- The source view to delegate touch presses events to. -->
     25         <attr name="sourceViewId" format="integer" />
     26     </declare-styleable>
     27 
     28     <!-- Cling specific attributes. These attributes are used to customize
     29          the cling in XML files. -->
     30     <declare-styleable name="Cling">
     31         <!-- Used to identify how to draw the cling bg -->
     32         <attr name="drawIdentifier" format="string"  />
     33     </declare-styleable>
     34 
     35     <!-- Page Indicator specific attributes. These attributes are used to customize
     36          the cling in XML files. -->
     37     <declare-styleable name="PageIndicator">
     38         <!-- Used to identify how to draw the cling bg -->
     39         <attr name="windowSize" format="integer"  />
     40     </declare-styleable>
     41 
     42     <!-- Workspace specific attributes. These attributes are used to customize
     43          the workspace in XML files. -->
     44     <declare-styleable name="Workspace">
     45         <!-- The first screen the workspace should display. -->
     46         <attr name="defaultScreen" format="integer"  />
     47         <!-- The number of horizontal cells in the CellLayout -->
     48         <attr name="cellCountX" format="integer"  />
     49         <!-- The number of vertical cells in the CellLayout -->
     50         <attr name="cellCountY" format="integer"  />
     51     </declare-styleable>
     52     
     53     <!-- Hotseat specific attributes. These attributes are used to customize
     54          the hotseat in XML files. -->
     55     <declare-styleable name="Hotseat">
     56         <!-- The number of horizontal cells in the CellLayout -->
     57         <attr name="cellCountX" />
     58         <!-- The number of vertical cells in the CellLayout -->
     59         <attr name="cellCountY" />
     60     </declare-styleable>
     61 
     62     <!-- CellLayout specific attributes. These attributes are used to customize
     63          a CellLayout view in XML files. -->
     64     <declare-styleable name="CellLayout">
     65         <!-- The width of a single cell -->
     66         <attr name="cellWidth" format="dimension"  />
     67         <!-- The height of a single cell -->
     68         <attr name="cellHeight" format="dimension"  />
     69         <!-- An override for the width and height gap to allow users to specify
     70              a specific size for the page using spacing instead of resolving the
     71              spacing from the width of the page -->
     72         <attr name="widthGap" format="dimension" />
     73         <attr name="heightGap" format="dimension" />
     74         <!-- The max gap size for each dimension -->
     75         <attr name="maxGap" format="dimension" />
     76     </declare-styleable>
     77 
     78     <!-- StrokedTextView specific attributes. -->
     79     <declare-styleable name="StrokedTextView">
     80         <!-- The color of the stroke outline -->
     81         <attr name="strokeColor" format="color" />
     82         <!-- The color of the text -->
     83         <attr name="strokeTextColor" format="color" />
     84         <!-- The width of the stroke -->
     85         <attr name="strokeWidth" format="float" />
     86     </declare-styleable>
     87 
     88     <!-- HolographicLinearLayout specific attributes. -->
     89     <declare-styleable name="HolographicLinearLayout">
     90         <!-- The source view to generate and apply the drawable states to/from -->
     91         <attr name="sourceImageViewId" format="integer" />
     92         <attr name="stateHotwordOn" format="boolean" />
     93     </declare-styleable>
     94 
     95     <!-- PagedView specific attributes. These attributes are used to customize
     96          a PagedView view in XML files. -->
     97     <declare-styleable name="PagedView">
     98         <!-- A spacing override for the icons within a page -->
     99         <attr name="pageLayoutWidthGap" format="dimension" />
    100         <attr name="pageLayoutHeightGap" format="dimension" />
    101         <!-- The padding of the pages that are dynamically created per page -->
    102         <attr name="pageLayoutPaddingTop" format="dimension" />
    103         <attr name="pageLayoutPaddingBottom" format="dimension" />
    104         <attr name="pageLayoutPaddingLeft" format="dimension" />
    105         <attr name="pageLayoutPaddingRight" format="dimension" />
    106         <!-- The space between adjacent pages of the PagedView. -->
    107         <attr name="pageSpacing" format="dimension" />
    108         <!-- The page indicator for this workspace -->
    109         <attr name="pageIndicator" format="reference" />
    110     </declare-styleable>
    111 
    112     <!-- AppsCustomizePagedView specific attributes.  These attributes are used to
    113          customize an AppsCustomizePagedView in xml files. -->
    114     <declare-styleable name="AppsCustomizePagedView">
    115         <!-- Max number of cells of applications horizontally -->
    116         <attr name="maxAppCellCountX" format="integer" />
    117         <!-- Max number of cells of applications vertically -->
    118         <attr name="maxAppCellCountY" format="integer" />
    119         <!-- Horizontal spacing between widgets and wallpapers -->
    120         <attr name="widgetCellWidthGap" format="dimension" />
    121         <!-- Vertical spacing between widgets -->
    122         <attr name="widgetCellHeightGap" format="dimension" />
    123         <!-- Number of widgets horizontally -->
    124         <attr name="widgetCountX" format="integer" />
    125         <!-- Number of widgets vertically -->
    126         <attr name="widgetCountY" format="integer" />
    127         <!-- The x index of the item to be focused in the cling -->
    128         <attr name="clingFocusedX" format="integer" />
    129         <!-- The y index of the item to be focused in the cling -->
    130         <attr name="clingFocusedY" format="integer" />
    131     </declare-styleable>
    132 
    133     <!-- XML attributes used by default_workspace.xml -->
    134     <declare-styleable name="Favorite">
    135         <attr name="className" format="string" />
    136         <attr name="packageName" format="string" />
    137         <attr name="container" format="string" />
    138         <attr name="screen" format="string" />
    139         <attr name="x" format="string" />
    140         <attr name="y" format="string" />
    141         <attr name="spanX" format="string" />
    142         <attr name="spanY" format="string" />
    143         <attr name="icon" format="reference" />  
    144         <attr name="title" format="reference" />
    145         <attr name="uri" format="string" />
    146     </declare-styleable>
    147     <declare-styleable name="Extra">
    148         <attr name="key" format="string" />
    149         <attr name="value" format="string" />
    150     </declare-styleable>
    151     <declare-styleable name="Include">
    152         <attr name="workspace" format="reference" />
    153     </declare-styleable>
    154 
    155     <!-- Only used in the device overlays -->
    156     <declare-styleable name="CustomClingTitleText">
    157     </declare-styleable>
    158     <declare-styleable name="CustomClingText">
    159     </declare-styleable>
    160 </resources>
    161