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<resources> 18 19 <declare-styleable name="AnalogClock"> 20 <attr name="jewelRadius" format="dimension"/> 21 <attr name="jewelOffset" format="dimension"/> 22 <attr name="jewelColor" format="color"/> 23 </declare-styleable> 24 25 <declare-styleable name="TextTime"> 26 <!-- Specifies the formatting pattern used to show the time and/or date 27 in 12-hour mode. Please refer to {@link android.text.format.DateFormat} 28 for a complete description of accepted formatting patterns. 29 The default pattern is "h:mm a". --> 30 <attr name="format12Hour" format="string"/> 31 <!-- Specifies the formatting pattern used to show the time and/or date 32 in 24-hour mode. Please refer to {@link android.text.format.DateFormat} 33 for a complete description of accepted formatting patterns. 34 The default pattern is "H:mm". --> 35 <attr name="format24Hour" format="string"/> 36 </declare-styleable> 37 38</resources> 39