Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3      Copyright (C) 2014 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 
     18 <resources>
     19 
     20     <style name="Base.TextAppearance.AppCompat" parent="android:TextAppearance">
     21         <item name="android:textColor">?android:textColorPrimary</item>
     22         <item name="android:textColorHint">?android:textColorHint</item>
     23         <item name="android:textColorHighlight">?android:textColorHighlight</item>
     24         <item name="android:textColorLink">?android:textColorLink</item>
     25         <item name="android:textSize">@dimen/abc_text_size_body_1_material</item>
     26     </style>
     27 
     28     <style name="Base.TextAppearance.AppCompat.Display4">
     29         <item name="android:textSize">@dimen/abc_text_size_display_4_material</item>
     30         <item name="android:textColor">?android:textColorSecondary</item>
     31     </style>
     32 
     33     <style name="Base.TextAppearance.AppCompat.Display3">
     34         <item name="android:textSize">@dimen/abc_text_size_display_3_material</item>
     35         <item name="android:textColor">?android:textColorSecondary</item>
     36     </style>
     37 
     38     <style name="Base.TextAppearance.AppCompat.Display2">
     39         <item name="android:textSize">@dimen/abc_text_size_display_2_material</item>
     40         <item name="android:textColor">?android:textColorSecondary</item>
     41     </style>
     42 
     43     <style name="Base.TextAppearance.AppCompat.Display1">
     44         <item name="android:textSize">@dimen/abc_text_size_display_1_material</item>
     45         <item name="android:textColor">?android:textColorSecondary</item>
     46     </style>
     47 
     48     <style name="Base.TextAppearance.AppCompat.Headline">
     49         <item name="android:textSize">@dimen/abc_text_size_headline_material</item>
     50         <item name="android:textColor">?android:textColorPrimary</item>
     51     </style>
     52 
     53     <style name="Base.TextAppearance.AppCompat.Title">
     54         <item name="android:textSize">@dimen/abc_text_size_title_material</item>
     55         <item name="android:textColor">?android:textColorPrimary</item>
     56     </style>
     57 
     58     <style name="Base.TextAppearance.AppCompat.Title.Inverse">
     59         <item name="android:textColor">?android:attr/textColorPrimaryInverse</item>
     60         <item name="android:textColorHint">?android:attr/textColorHintInverse</item>
     61     </style>
     62 
     63     <style name="Base.TextAppearance.AppCompat.Subhead">
     64         <item name="android:textSize">@dimen/abc_text_size_subhead_material</item>
     65         <item name="android:textColor">?android:textColorPrimary</item>
     66     </style>
     67 
     68     <style name="Base.TextAppearance.AppCompat.Subhead.Inverse">
     69         <item name="android:textColor">?android:attr/textColorPrimaryInverse</item>
     70         <item name="android:textColorHint">?android:attr/textColorHintInverse</item>
     71     </style>
     72 
     73     <style name="Base.TextAppearance.AppCompat.Body2">
     74         <item name="android:textSize">@dimen/abc_text_size_body_2_material</item>
     75         <item name="android:textColor">?android:textColorPrimary</item>
     76     </style>
     77 
     78     <style name="Base.TextAppearance.AppCompat.Body1">
     79         <item name="android:textSize">@dimen/abc_text_size_body_1_material</item>
     80         <item name="android:textColor">?android:textColorPrimary</item>
     81     </style>
     82 
     83     <style name="Base.TextAppearance.AppCompat.Caption">
     84         <item name="android:textSize">@dimen/abc_text_size_caption_material</item>
     85         <item name="android:textColor">?android:textColorSecondary</item>
     86     </style>
     87 
     88     <style name="Base.TextAppearance.AppCompat.Menu">
     89         <item name="android:textSize">@dimen/abc_text_size_menu_material</item>
     90         <item name="android:textColor">?android:textColorPrimary</item>
     91     </style>
     92 
     93     <style name="Base.TextAppearance.AppCompat.Button">
     94         <item name="android:textSize">@dimen/abc_text_size_button_material</item>
     95         <item name="textAllCaps">true</item>
     96         <item name="android:textColor">?android:textColorPrimary</item>
     97     </style>
     98 
     99     <style name="Base.TextAppearance.AppCompat.Widget.Button" parent="TextAppearance.AppCompat.Button" />
    100 
    101     <style name="Base.TextAppearance.AppCompat.Widget.Button.Inverse" parent="TextAppearance.AppCompat.Button">
    102         <item name="android:textColor">?android:textColorPrimaryInverse</item>
    103     </style>
    104 
    105     <style name="Base.TextAppearance.AppCompat.Tooltip">
    106         <item name="android:textSize">14sp</item>
    107     </style>
    108 
    109     <!-- Deprecated text styles -->
    110 
    111     <style name="Base.TextAppearance.AppCompat.Inverse">
    112         <item name="android:textColor">?android:attr/textColorPrimaryInverse</item>
    113         <item name="android:textColorHint">?android:attr/textColorHintInverse</item>
    114     </style>
    115 
    116     <style name="Base.TextAppearance.AppCompat.Large">
    117         <item name="android:textSize">@dimen/abc_text_size_large_material</item>
    118         <item name="android:textColor">?android:attr/textColorPrimary</item>
    119     </style>
    120 
    121     <style name="Base.TextAppearance.AppCompat.Large.Inverse">
    122         <item name="android:textColor">?android:attr/textColorPrimaryInverse</item>
    123         <item name="android:textColorHint">?android:attr/textColorHintInverse</item>
    124     </style>
    125 
    126     <style name="Base.TextAppearance.AppCompat.Medium">
    127         <item name="android:textSize">@dimen/abc_text_size_medium_material</item>
    128         <item name="android:textColor">?android:attr/textColorSecondary</item>
    129     </style>
    130 
    131     <style name="Base.TextAppearance.AppCompat.Medium.Inverse">
    132         <item name="android:textColor">?android:attr/textColorSecondaryInverse</item>
    133         <item name="android:textColorHint">?android:attr/textColorHintInverse</item>
    134     </style>
    135 
    136     <style name="Base.TextAppearance.AppCompat.Small">
    137         <item name="android:textSize">@dimen/abc_text_size_small_material</item>
    138         <item name="android:textColor">?android:attr/textColorTertiary</item>
    139     </style>
    140 
    141     <style name="Base.TextAppearance.AppCompat.Small.Inverse">
    142         <item name="android:textColor">?android:attr/textColorTertiaryInverse</item>
    143         <item name="android:textColorHint">?android:attr/textColorHintInverse</item>
    144     </style>
    145 
    146     <style name="Base.TextAppearance.AppCompat.Widget.Button.Colored">
    147         <item name="android:textColor">@color/abc_btn_colored_text_material</item>
    148     </style>
    149 
    150     <style name="Base.TextAppearance.AppCompat.Widget.Button.Borderless.Colored" parent="Base.TextAppearance.AppCompat.Widget.Button">
    151         <item name="android:textColor">@color/abc_btn_colored_borderless_text_material</item>
    152     </style>
    153 
    154 </resources>