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     <!-- Deprecated text styles -->
    106 
    107     <style name="Base.TextAppearance.AppCompat.Inverse">
    108         <item name="android:textColor">?android:attr/textColorPrimaryInverse</item>
    109         <item name="android:textColorHint">?android:attr/textColorHintInverse</item>
    110     </style>
    111 
    112     <style name="Base.TextAppearance.AppCompat.Large">
    113         <item name="android:textSize">@dimen/abc_text_size_large_material</item>
    114         <item name="android:textColor">?android:attr/textColorPrimary</item>
    115     </style>
    116 
    117     <style name="Base.TextAppearance.AppCompat.Large.Inverse">
    118         <item name="android:textColor">?android:attr/textColorPrimaryInverse</item>
    119         <item name="android:textColorHint">?android:attr/textColorHintInverse</item>
    120     </style>
    121 
    122     <style name="Base.TextAppearance.AppCompat.Medium">
    123         <item name="android:textSize">@dimen/abc_text_size_medium_material</item>
    124         <item name="android:textColor">?android:attr/textColorSecondary</item>
    125     </style>
    126 
    127     <style name="Base.TextAppearance.AppCompat.Medium.Inverse">
    128         <item name="android:textColor">?android:attr/textColorSecondaryInverse</item>
    129         <item name="android:textColorHint">?android:attr/textColorHintInverse</item>
    130     </style>
    131 
    132     <style name="Base.TextAppearance.AppCompat.Small">
    133         <item name="android:textSize">@dimen/abc_text_size_small_material</item>
    134         <item name="android:textColor">?android:attr/textColorTertiary</item>
    135     </style>
    136 
    137     <style name="Base.TextAppearance.AppCompat.Small.Inverse">
    138         <item name="android:textColor">?android:attr/textColorTertiaryInverse</item>
    139         <item name="android:textColorHint">?android:attr/textColorHintInverse</item>
    140     </style>
    141 
    142 </resources>