blob: 056615d64c2a58f1b62b17ba7ee429f9877ce009 [file] [log] [blame]
Chiao Chenga44c5912013-07-15 14:54:27 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 ~ Copyright (C) 2013 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<resources>
19 <declare-styleable name="EditPhoneNumberPreference">
20 <!-- The enable button text. -->
21 <attr name="enableButtonText" format="string" />
22 <!-- The disable button text. -->
23 <attr name="disableButtonText" format="string" />
24 <!-- The change / update button text. -->
25 <attr name="changeNumButtonText" format="string" />
26 <!-- The confirm button mode. -->
27 <attr name="confirmMode">
28 <!-- Traditional single action "ok" button. -->
29 <enum name="confirm" value="0" />
30 <!-- Two state "enable/disable" button. -->
31 <enum name="activation" value="1" />
32 </attr>
33 </declare-styleable>
34
35 <declare-styleable name="CallForwardEditPreference">
36 <attr name="serviceClass">
37 <!-- voice -->
38 <enum name="voice" value="1" />
39 <!-- data -->
40 <enum name="data" value="2" />
41 </attr>
42 <attr name="reason">
43 <!-- unconditional -->
44 <enum name="unconditional" value="0" />
45 <!-- busy -->
46 <enum name="busy" value="1" />
47 <!-- no_reply -->
48 <enum name="no_reply" value="2" />
49 <!-- not_reachable -->
50 <enum name="not_reachable" value="3" />
51 </attr>
52 </declare-styleable>
53
54 <declare-styleable name="GlowPadView">
55 <attr name="android:gravity"/>
56
57 <!-- Reference to an array resource that be shown as targets around a circle. -->
58 <attr name="targetDrawables" format="reference"/>
59
60 <!-- Reference to an array resource that be used as description for the targets around the circle. -->
61 <attr name="targetDescriptions" format="reference"/>
62
63 <!-- Reference to an array resource that be used to announce the directions with targets around the circle. -->
64 <attr name="directionDescriptions" format="reference"/>
65
66 <!-- Sets a drawable as the center. -->
67 <attr name="handleDrawable" format="reference"/>
68
69 <!-- Drawable to use for wave ripple animation. -->
70 <attr name="outerRingDrawable" format="reference"/>
71
72 <!-- Drawble used for drawing points -->
73 <attr name="pointDrawable" format="reference"/>
74
75 <!-- Inner radius of glow area. -->
76 <attr name="innerRadius" format="dimension"/>
77
78 <!-- Outer radius of glow area. Target icons will be drawn on this circle. -->
79 <attr name="outerRadius" format="dimension"/>
80
81 <!-- Size of target radius. Points within this distance of target center is a "hit". -->
82 <!--
83 <attr name="hitRadius" format="dimension"/>
84 -->
85
86 <!-- Radius of glow under finger. -->
87 <attr name="glowRadius" format="dimension"/>
88
89 <!-- Tactile feedback duration for actions. Set to '0' for no vibration. -->
90 <attr name="vibrationDuration" format="integer"/>
91
92 <!-- How close we need to be before snapping to a target. -->
93 <attr name="snapMargin" format="dimension"/>
94
95 <!-- Number of waves/chevrons to show in animation. -->
96 <attr name="feedbackCount" format="integer"/>
97
98 <!-- Used when the handle shouldn't wait to be hit before following the finger -->
99 <attr name="alwaysTrackFinger" format="boolean"/>
100 </declare-styleable>
101</resources>