1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2008 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="WifiEncryptionState"> 19 <attr name="state_encrypted" format="boolean" /> 20 </declare-styleable> 21 <declare-styleable name="IconPreferenceScreen"> 22 <attr name="icon" format="reference" /> 23 </declare-styleable> 24 25 <declare-styleable name="BatteryHistoryChart"> 26 <!-- Base text color, typeface, size, and style. --> 27 <attr name="android:textAppearance" /> 28 <!-- Text color. --> 29 <attr name="android:textColor" /> 30 <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). --> 31 <attr name="android:textSize" /> 32 <!-- Typeface (normal, sans, serif, monospace) for the text. --> 33 <attr name="android:typeface" /> 34 <!-- Style (bold, italic, bolditalic) for the text. --> 35 <attr name="android:textStyle" /> 36 <!-- Place a shadow of the specified color behind the text. --> 37 <attr name="android:shadowColor" /> 38 <!-- Horizontal offset of the shadow. --> 39 <attr name="android:shadowDx" /> 40 <!-- Vertical offset of the shadow. --> 41 <attr name="android:shadowDy" /> 42 <!-- Radius of the shadow. --> 43 <attr name="android:shadowRadius" /> 44 </declare-styleable> 45 46 <declare-styleable name="PercentageBarChart"> 47 <!-- Background color --> 48 <attr name="emptyColor" format="color" /> 49 <!-- Minimum tick width for each slice in the bar chart. --> 50 <attr name="minTickWidth" format="dimension" /> 51 </declare-styleable> 52 53 <declare-styleable name="ChartView"> 54 <!-- optimal width of the chart --> 55 <attr name="optimalWidth" format="dimension" /> 56 <!-- how to weight extra space beyond optimal width --> 57 <attr name="optimalWidthWeight" format="float" /> 58 </declare-styleable> 59 60 <declare-styleable name="ChartSweepView"> 61 <attr name="sweepDrawable" format="reference" /> 62 <attr name="followAxis"> 63 <enum name="horizontal" value="0" /> 64 <enum name="vertical" value="1" /> 65 </attr> 66 <attr name="neighborMargin" format="dimension" /> 67 <attr name="labelSize" format="dimension" /> 68 <attr name="labelTemplate" format="reference" /> 69 <attr name="labelColor" format="color" /> 70 </declare-styleable> 71 72 <declare-styleable name="ChartGridView"> 73 <attr name="primaryDrawable" format="reference" /> 74 <attr name="secondaryDrawable" format="reference" /> 75 <attr name="borderDrawable" format="reference" /> 76 <attr name="labelColor" /> 77 </declare-styleable> 78 79 <declare-styleable name="ChartNetworkSeriesView"> 80 <attr name="strokeColor" format="color" /> 81 <attr name="fillColor" format="color" /> 82 <attr name="fillColorSecondary" format="color" /> 83 </declare-styleable> 84 </resources> 85