1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 ~ Copyright (C) 2012 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 <!-- GlowPadView class attributes --> 20 <!-- =============================== --> 21 <resources> 22 <declare-styleable name="GlowPadView"> 23 <attr name="android:gravity"/> 24 25 <!-- Reference to an array resource that be shown as targets around a circle. --> 26 <attr name="targetDrawables" format="reference"/> 27 28 <!-- Reference to an array resource that be used as description for the targets around the circle. --> 29 <attr name="targetDescriptions" format="reference"/> 30 31 <!-- Reference to an array resource that be used to announce the directions with targets around the circle. --> 32 <attr name="directionDescriptions" format="reference"/> 33 34 <!-- Sets a drawable as the center. --> 35 <attr name="handleDrawable" format="reference"/> 36 37 <!-- Drawable to use for wave ripple animation. --> 38 <attr name="outerRingDrawable" format="reference"/> 39 40 <!-- Drawble used for drawing points --> 41 <attr name="pointDrawable" format="reference"/> 42 43 <!-- Inner radius of glow area. --> 44 <attr name="innerRadius" format="dimension"/> 45 46 <!-- Outer radius of glow area. Target icons will be drawn on this circle. --> 47 <attr name="outerRadius" format="dimension"/> 48 49 <!-- Size of target radius. Points within this distance of target center is a "hit". --> 50 <!-- 51 <attr name="hitRadius" format="dimension"/> 52 --> 53 54 <!-- Radius of glow under finger. --> 55 <attr name="glowRadius" format="dimension"/> 56 57 <!-- Tactile feedback duration for actions. Set to '0' for no vibration. --> 58 <attr name="vibrationDuration" format="integer"/> 59 60 <!-- How close we need to be before snapping to a target. --> 61 <attr name="snapMargin" format="dimension"/> 62 63 <!-- Number of waves/chevrons to show in animation. --> 64 <attr name="feedbackCount" format="integer"/> 65 66 <!-- Used when the handle shouldn't wait to be hit before following the finger --> 67 <attr name="alwaysTrackFinger" format="boolean"/> 68 </declare-styleable> 69 70 <declare-styleable name="AnalogClock"> 71 <attr name="jewelRadius" format="dimension"/> 72 <attr name="jewelOffset" format="dimension"/> 73 <attr name="jewelColor" format="color"/> 74 </declare-styleable> 75 76 <declare-styleable name="TextTime"> 77 <!-- Specifies the formatting pattern used to show the time and/or date 78 in 12-hour mode. Please refer to {@link android.text.format.DateFormat} 79 for a complete description of accepted formatting patterns. 80 The default pattern is "h:mm a". --> 81 <attr name="format12Hour" format="string"/> 82 <!-- Specifies the formatting pattern used to show the time and/or date 83 in 24-hour mode. Please refer to {@link android.text.format.DateFormat} 84 for a complete description of accepted formatting patterns. 85 The default pattern is "H:mm". --> 86 <attr name="format24Hour" format="string"/> 87 </declare-styleable> 88 89 </resources> 90