Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2007 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7   
      8           http://www.apache.org/licenses/LICENSE-2.0
      9   
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 
     17 <resources>
     18     <!-- These are the attributes that we want to retrieve from the theme
     19          in app/PreferencesFromCode.java -->
     20     <declare-styleable name="TogglePrefAttrs">
     21         <attr name="android:preferenceLayoutChild" />
     22     </declare-styleable>
     23     
     24      <declare-styleable name="LabelView">
     25         <attr name="text" format="string" />
     26         <attr name="textColor" format="color" />
     27         <attr name="textSize" format="dimension" />
     28     </declare-styleable>
     29 
     30     <!-- These are the attributes that we want to retrieve for
     31          view/CustomLayout.java -->
     32 <!-- BEGIN_INCLUDE(CustomLayout) -->
     33     <declare-styleable name="CustomLayoutLP">
     34         <attr name="android:layout_gravity" />
     35         <attr name="layout_position">
     36             <enum name="middle" value="0" />
     37             <enum name="left" value="1" />
     38             <enum name="right" value="2" />
     39         </attr>
     40     </declare-styleable>
     41 <!-- END_INCLUDE(CustomLayout) -->
     42 
     43     <!-- These are attributes used with 'DraggableDot' drawables in
     44          view/DragAndDropActivity.java and view/DraggableDot.java -->
     45     <declare-styleable name="DraggableDot">
     46         <attr name="radius" format="dimension" />
     47         <attr name="legend" format="string" />
     48         <attr name="anr">
     49             <enum name="none" value="0" />
     50             <enum name="thumbnail" value="1" />
     51             <enum name="drop" value="2" />
     52         </attr>
     53     </declare-styleable>
     54 
     55     <!-- These are the attributes that we want to retrieve for
     56          app/FragmentArguments.java -->
     57 <!-- BEGIN_INCLUDE(fragment_arguments) -->
     58     <declare-styleable name="FragmentArguments">
     59         <attr name="android:label" />
     60     </declare-styleable>
     61 <!-- END_INCLUDE(fragment_arguments) -->
     62 </resources>
     63