Home | History | Annotate | Download | only in values
      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="BatteryHistoryChart">
     19         <!-- Base text color, typeface, size, and style. -->
     20         <attr name="android:textAppearance" />
     21         <!-- Text color. -->
     22         <attr name="android:textColor" />
     23         <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
     24         <attr name="android:textSize" />
     25         <!-- Typeface (normal, sans, serif, monospace) for the text. -->
     26         <attr name="android:typeface" />
     27         <!-- Style (bold, italic, bolditalic) for the text. -->
     28         <attr name="android:textStyle" />
     29         <!-- Place a shadow of the specified color behind the text. -->
     30         <attr name="android:shadowColor" />
     31         <!-- Horizontal offset of the shadow. -->
     32         <attr name="android:shadowDx" />
     33         <!-- Vertical offset of the shadow. -->
     34         <attr name="android:shadowDy" />
     35         <!-- Radius of the shadow. -->
     36         <attr name="android:shadowRadius" />
     37         <!-- Text color, typeface, size, and style of header. -->
     38         <attr name="headerAppearance" format="reference" />
     39         <!-- Primary color of chart. -->
     40         <attr name="barPrimaryColor" format="color|reference" />
     41         <!-- Color of predicted future use part of chart. -->
     42         <attr name="barPredictionColor" format="color|reference" />
     43         <!-- Minimum height of the chart itself. -->
     44         <attr name="chartMinHeight" format="dimension|reference" />
     45     </declare-styleable>
     46 
     47     <declare-styleable name="PercentageBarChart">
     48         <!-- Background color -->
     49         <attr name="emptyColor" format="color" />
     50         <!-- Minimum tick width for each slice in the bar chart. -->
     51         <attr name="minTickWidth" format="dimension" />
     52     </declare-styleable>
     53 
     54     <declare-styleable name="ChartView">
     55         <!-- optimal width of the chart -->
     56         <attr name="optimalWidth" format="dimension" />
     57         <!-- how to weight extra space beyond optimal width -->
     58         <attr name="optimalWidthWeight" format="float" />
     59     </declare-styleable>
     60 
     61     <declare-styleable name="ChartSweepView">
     62         <attr name="sweepDrawable" format="reference" />
     63         <attr name="followAxis">
     64             <enum name="horizontal" value="0" />
     65             <enum name="vertical" value="1" />
     66         </attr>
     67         <attr name="neighborMargin" format="dimension" />
     68         <attr name="labelSize" format="dimension" />
     69         <attr name="labelTemplate" format="reference" />
     70         <attr name="labelColor" format="color" />
     71         <attr name="safeRegion" format="dimension" />
     72     </declare-styleable>
     73 
     74     <declare-styleable name="ChartGridView">
     75         <attr name="primaryDrawable" format="reference" />
     76         <attr name="secondaryDrawable" format="reference" />
     77         <attr name="borderDrawable" format="reference" />
     78         <attr name="android:textColor" />
     79         <attr name="android:textAppearance" />
     80     </declare-styleable>
     81 
     82     <declare-styleable name="ChartNetworkSeriesView">
     83         <attr name="strokeColor" format="color" />
     84         <attr name="fillColor" format="color" />
     85         <attr name="fillColorSecondary" format="color" />
     86         <attr name="safeRegion" />
     87     </declare-styleable>
     88 
     89     <attr name="apnPreferenceStyle" format="reference" />
     90 
     91     <attr name="footerPreferenceStyle" format="reference" />
     92 
     93     <declare-styleable name="FixedLineSummaryPreference">
     94         <attr name="summaryLineCount" format="integer" />
     95     </declare-styleable>
     96 
     97     <!-- For Search -->
     98     <declare-styleable name="Preference">
     99         <attr name="keywords" format="string" />
    100     </declare-styleable>
    101 
    102     <!-- For DotsPageIndicator -->
    103     <declare-styleable name="DotsPageIndicator">
    104         <attr name="dotDiameter" format="dimension" />
    105         <attr name="dotGap" format="dimension" />
    106         <attr name="animationDuration" format="integer" />
    107         <attr name="pageIndicatorColor" format="color" />
    108         <attr name="currentPageIndicatorColor" format="color" />
    109     </declare-styleable>
    110 
    111     <!-- For ConversationMessageView -->
    112     <declare-styleable name="ConversationMessageView">
    113         <attr name="incoming" format="boolean" />
    114         <attr name="messageText" format="reference" />
    115         <attr name="timestampText" format="reference" />
    116         <attr name="iconText" format="reference" />
    117         <attr name="iconTextColor" format="reference|color" />
    118         <attr name="iconBackgroundColor" format="reference|color" />
    119     </declare-styleable>
    120 
    121     <attr name="switchBarTheme" format="reference" />
    122     <attr name="switchBarMarginStart" format="dimension" />
    123     <attr name="switchBarMarginEnd" format="dimension" />
    124     <attr name="switchBarBackgroundColor" format="color" />
    125 
    126     <attr name="preferenceBackgroundColor" format="color" />
    127 
    128     <!-- Confirm device credentials screen -->
    129     <attr name="confirmDeviceCredentialsSideMargin" format="dimension" />
    130     <attr name="confirmDeviceCredentialsTopMargin" format="dimension" />
    131 
    132     <declare-styleable name="WorkPreference">
    133         <attr name="forWork" format="boolean" />
    134     </declare-styleable>
    135 
    136     <declare-styleable name="DividerPreference">
    137         <attr name="allowDividerAbove" format="boolean" />
    138         <attr name="allowDividerBelow" format="boolean" />
    139     </declare-styleable>
    140 
    141     <declare-styleable name="VideoPreference">
    142         <attr name="animation" format="reference" />
    143         <attr name="preview" format="reference" />
    144     </declare-styleable>
    145 
    146     <!-- For AspectRatioFrameLayout -->
    147     <declare-styleable name="AspectRatioFrameLayout">
    148         <attr name="aspectRatio" format="float" />
    149     </declare-styleable>
    150 
    151     <declare-styleable name="TintablePreference">
    152         <attr name="android:tint" format="color|reference" />
    153     </declare-styleable>
    154 
    155     <!-- For UsageView -->
    156     <declare-styleable name="UsageView">
    157         <attr name="android:colorAccent" />
    158         <attr name="sideLabels" format="reference" />
    159         <attr name="bottomLabels" format="reference" />
    160         <attr name="textColor" format="color" />
    161         <attr name="android:gravity" />
    162     </declare-styleable>
    163 
    164     <!-- For DonutView -->
    165     <declare-styleable name="DonutView">
    166         <attr name="meterBackgroundColor" format="color" />
    167         <attr name="meterConsumedColor" format="color" />
    168         <attr name="applyColorAccent" format="boolean" />
    169         <attr name="showPercentString" format="boolean" />
    170         <attr name="thickness" format="dimension" />
    171     </declare-styleable>
    172 </resources>
    173