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="SetupWizardIllustration"> 26 <attr name="aspectRatio" format="float" /> 27 </declare-styleable> 28 29 <declare-styleable name="BatteryHistoryChart"> 30 <!-- Base text color, typeface, size, and style. --> 31 <attr name="android:textAppearance" /> 32 <!-- Text color. --> 33 <attr name="android:textColor" /> 34 <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). --> 35 <attr name="android:textSize" /> 36 <!-- Typeface (normal, sans, serif, monospace) for the text. --> 37 <attr name="android:typeface" /> 38 <!-- Style (bold, italic, bolditalic) for the text. --> 39 <attr name="android:textStyle" /> 40 <!-- Place a shadow of the specified color behind the text. --> 41 <attr name="android:shadowColor" /> 42 <!-- Horizontal offset of the shadow. --> 43 <attr name="android:shadowDx" /> 44 <!-- Vertical offset of the shadow. --> 45 <attr name="android:shadowDy" /> 46 <!-- Radius of the shadow. --> 47 <attr name="android:shadowRadius" /> 48 <!-- Text color, typeface, size, and style of header. --> 49 <attr name="headerAppearance" format="reference" /> 50 <!-- Primary color of chart. --> 51 <attr name="barPrimaryColor" format="color|reference" /> 52 <!-- Color of predicted future use part of chart. --> 53 <attr name="barPredictionColor" format="color|reference" /> 54 <!-- Minimum height of the chart itself. --> 55 <attr name="chartMinHeight" format="dimension|reference" /> 56 </declare-styleable> 57 58 <declare-styleable name="PercentageBarChart"> 59 <!-- Background color --> 60 <attr name="emptyColor" format="color" /> 61 <!-- Minimum tick width for each slice in the bar chart. --> 62 <attr name="minTickWidth" format="dimension" /> 63 </declare-styleable> 64 65 <declare-styleable name="ChartView"> 66 <!-- optimal width of the chart --> 67 <attr name="optimalWidth" format="dimension" /> 68 <!-- how to weight extra space beyond optimal width --> 69 <attr name="optimalWidthWeight" format="float" /> 70 </declare-styleable> 71 72 <declare-styleable name="ChartSweepView"> 73 <attr name="sweepDrawable" format="reference" /> 74 <attr name="followAxis"> 75 <enum name="horizontal" value="0" /> 76 <enum name="vertical" value="1" /> 77 </attr> 78 <attr name="neighborMargin" format="dimension" /> 79 <attr name="labelSize" format="dimension" /> 80 <attr name="labelTemplate" format="reference" /> 81 <attr name="labelColor" format="color" /> 82 <attr name="safeRegion" format="dimension" /> 83 </declare-styleable> 84 85 <declare-styleable name="ChartGridView"> 86 <attr name="primaryDrawable" format="reference" /> 87 <attr name="secondaryDrawable" format="reference" /> 88 <attr name="borderDrawable" format="reference" /> 89 <attr name="android:textColor" /> 90 <attr name="android:textAppearance" /> 91 </declare-styleable> 92 93 <declare-styleable name="ChartNetworkSeriesView"> 94 <attr name="strokeColor" format="color" /> 95 <attr name="fillColor" format="color" /> 96 <attr name="fillColorSecondary" format="color" /> 97 <attr name="safeRegion" /> 98 </declare-styleable> 99 100 <attr name="apnPreferenceStyle" format="reference" /> 101 102 <!-- For Search --> 103 <declare-styleable name="Preference"> 104 <attr name="keywords" format="string" /> 105 </declare-styleable> 106 107 <attr name="switchBarTheme" format="reference" /> 108 <attr name="switchBarMarginStart" format="dimension" /> 109 <attr name="switchBarMarginEnd" format="dimension" /> 110 111 <attr name="preferenceBackgroundColor" format="color" /> 112 113 <!-- Confirm device credentials screen --> 114 <attr name="confirmDeviceCredentialsSideMargin" format="dimension" /> 115 <attr name="confirmDeviceCredentialsTopMargin" format="dimension" /> 116 117 <declare-styleable name="DropDownPreference"> 118 <attr name="android:entries" /> 119 <attr name="android:entryValues" /> 120 </declare-styleable> 121 </resources> 122