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 <!-- Orientation of a widget. --> 21 <attr name="direction"> 22 <!-- Vertical widget. --> 23 <enum name="vertical" value="0" /> 24 <!-- Horizontal widget. --> 25 <enum name="horizontal" value="1" /> 26 </attr> 27 28 <skip /> 29 30 <!-- Workspace specific attributes. These attributes are used to customize 31 the workspace in XML files. --> 32 <declare-styleable name="Workspace"> 33 <!-- The first screen the workspace should display. --> 34 <attr name="defaultScreen" format="integer" /> 35 </declare-styleable> 36 37 <!-- CellLayout specific attributes. These attributes are used to customize 38 a CellLayout view in XML files. --> 39 <declare-styleable name="CellLayout"> 40 <!-- The width of a single cell --> 41 <attr name="cellWidth" format="dimension" /> 42 <!-- The height of a single cell --> 43 <attr name="cellHeight" format="dimension" /> 44 <!-- Padding to apply at the start of the long axis --> 45 <attr name="longAxisStartPadding" format="dimension" /> 46 <!-- Padding to apply at the end of the long axis --> 47 <attr name="longAxisEndPadding" format="dimension" /> 48 <!-- Padding to apply at the start of the short axis --> 49 <attr name="shortAxisStartPadding" format="dimension" /> 50 <!-- Padding to apply at the end of the short axis --> 51 <attr name="shortAxisEndPadding" format="dimension" /> 52 <!-- Number of cells on the short axis of the CellLayout --> 53 <attr name="shortAxisCells" format="integer" /> 54 <!-- Number of cells on the long axis of the CellLayout --> 55 <attr name="longAxisCells" format="integer" /> 56 </declare-styleable> 57 58 <!-- DeleteZone specific attributes. These attributes are used to customize 59 a DeleteZone view in XML files. --> 60 <declare-styleable name="DeleteZone"> 61 <!-- Orientation of the delete zone. --> 62 <attr name="direction" /> 63 </declare-styleable> 64 65 <!-- HandleView specific attributes. These attributes are used to customize 66 a HandleView view in XML files. --> 67 <declare-styleable name="HandleView"> 68 <!-- Orientation of the handle. --> 69 <attr name="direction" /> 70 </declare-styleable> 71 72 <!-- AllAppsGridView specific attributes. These attributes are used to customize 73 the list of all apps in XML files. --> 74 <declare-styleable name="AllAppsGridView"> 75 <!-- The background texture. --> 76 <attr name="texture" format="reference" /> 77 </declare-styleable> 78 79 <!-- XML attributes used by default_workspace.xml --> 80 <declare-styleable name="Favorite"> 81 <attr name="className" format="string" /> 82 <attr name="packageName" format="string" /> 83 <attr name="screen" format="string" /> 84 <attr name="x" format="string" /> 85 <attr name="y" format="string" /> 86 <attr name="icon" format="reference" /> 87 <attr name="title" format="reference" /> 88 <attr name="uri" format="string" /> 89 </declare-styleable> 90</resources> 91