• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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     <declare-styleable name="LabelView">
19        <attr name="text" format="string" />
20        <attr name="textColor" format="color" />
21        <attr name="textSize" format="dimension" />
22    </declare-styleable>
23
24    <!-- These are the attributes that we want to retrieve for
25         view/CustomLayout.java -->
26<!-- BEGIN_INCLUDE(CustomLayout) -->
27    <declare-styleable name="CustomLayoutLP">
28        <attr name="android:layout_gravity" />
29        <attr name="layout_position">
30            <enum name="middle" value="0" />
31            <enum name="left" value="1" />
32            <enum name="right" value="2" />
33        </attr>
34    </declare-styleable>
35<!-- END_INCLUDE(CustomLayout) -->
36
37    <!-- These are attributes used with 'DraggableDot' drawables in
38         view/DragAndDropActivity.java and view/DraggableDot.java -->
39    <declare-styleable name="DraggableDot">
40        <attr name="radius" format="dimension" />
41        <attr name="legend" format="string" />
42        <attr name="anr">
43            <enum name="none" value="0" />
44            <enum name="thumbnail" value="1" />
45            <enum name="drop" value="2" />
46        </attr>
47    </declare-styleable>
48
49    <!-- These are the attributes that we want to retrieve for
50         app/FragmentArguments.java -->
51<!-- BEGIN_INCLUDE(fragment_arguments) -->
52    <declare-styleable name="FragmentArguments">
53        <attr name="android:label" />
54    </declare-styleable>
55<!-- END_INCLUDE(fragment_arguments) -->
56
57    <declare-styleable name="FixedAspectRatioImageView">
58        <attr name="aspectRatio" format="string" />
59    </declare-styleable>
60</resources>
61