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