Home | History | Annotate | Download | only in values-v21
      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     <!-- Like in themes_base.xml, the namespace "*.AppCompat.Base" is used to
     21      define base styles for the platform version. The "*.AppCompat"
     22      variants are for direct use or use as parent styles by the app. -->
     23     <eat-comment/>
     24 
     25     <style name="Base.Widget.AppCompat.ActionBar.TabView"
     26            parent="android:Widget.Material.ActionBar.TabView">
     27     </style>
     28 
     29     <style name="Base.Widget.AppCompat.Light.ActionBar.TabView"
     30            parent="android:Widget.Material.Light.ActionBar.TabView">
     31     </style>
     32 
     33     <style name="Base.Widget.AppCompat.ActionBar.TabText"
     34            parent="android:Widget.Material.ActionBar.TabText">
     35     </style>
     36 
     37     <style name="Base.Widget.AppCompat.Light.ActionBar.TabText"
     38            parent="android:Widget.Material.Light.ActionBar.TabText">
     39     </style>
     40 
     41     <style name="Base.Widget.AppCompat.Light.ActionBar.TabText.Inverse"
     42            parent="android:Widget.Material.Light.ActionBar.TabText">
     43     </style>
     44 
     45     <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Title"
     46            parent="android:TextAppearance.Material.Widget.ActionBar.Title">
     47     </style>
     48 
     49     <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Subtitle"
     50            parent="android:TextAppearance.Material.Widget.ActionBar.Subtitle">
     51     </style>
     52 
     53     <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Title.Inverse"
     54            parent="android:TextAppearance.Material.Widget.ActionBar.Title.Inverse">
     55     </style>
     56 
     57     <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Subtitle.Inverse"
     58            parent="android:TextAppearance.Material.Widget.ActionBar.Subtitle.Inverse">
     59     </style>
     60 
     61     <style name="Base.TextAppearance.AppCompat.Widget.ActionMode.Title"
     62            parent="android:TextAppearance.Material.Widget.ActionMode.Title">
     63     </style>
     64 
     65     <style name="Base.TextAppearance.AppCompat.Widget.ActionMode.Subtitle"
     66            parent="android:TextAppearance.Material.Widget.ActionMode.Subtitle">
     67     </style>
     68 
     69     <!-- Action Button Styles -->
     70 
     71     <style name="Base.Widget.AppCompat.ActionButton"
     72            parent="android:Widget.Material.ActionButton">
     73     </style>
     74 
     75     <style name="Base.Widget.AppCompat.ActionButton.CloseMode"
     76            parent="android:Widget.Material.ActionButton.CloseMode">
     77         <item name="android:minWidth">56dp</item>
     78     </style>
     79 
     80     <style name="Base.Widget.AppCompat.ActionButton.Overflow"
     81            parent="android:Widget.Material.ActionButton.Overflow">
     82     </style>
     83 
     84     <!--
     85         Widget.AppCompat.Toolbar style is purposely ommitted. This is because the support
     86         Toolbar implementation is used on ALL platforms and relies on the unbundled attrs.
     87         The supporting Toolbar styles below only use basic attrs so work fine.
     88     -->
     89 
     90     <style name="Base.Widget.AppCompat.Toolbar.Button.Navigation"
     91            parent="android:Widget.Material.Toolbar.Button.Navigation">
     92     </style>
     93 
     94     <style name="Base.TextAppearance.Widget.AppCompat.Toolbar.Title"
     95            parent="android:TextAppearance.Material.Widget.ActionBar.Title">
     96     </style>
     97 
     98     <style name="Base.TextAppearance.Widget.AppCompat.Toolbar.Subtitle"
     99            parent="android:TextAppearance.Material.Widget.ActionBar.Subtitle">
    100     </style>
    101 
    102     <!-- Spinner Widgets -->
    103 
    104     <style name="Base.Widget.AppCompat.ListView.DropDown"
    105            parent="android:Widget.Material.ListView.DropDown"/>
    106 
    107     <style name="Base.Widget.AppCompat.DropDownItem.Spinner"
    108            parent="android:Widget.Material.DropDownItem.Spinner"/>
    109 
    110     <style name="Base.Widget.AppCompat.Spinner" parent="android:Widget.Material.Spinner" />
    111 
    112     <!-- Base.Widget.AppCompat.Spinner.Underlined is overridden in ldltr-v21 and v23 -->
    113 
    114     <style name="Base.Widget.AppCompat.ListView" parent="android:Widget.Material.ListView" />
    115     <style name="Base.Widget.AppCompat.ListView.Menu" />
    116 
    117     <!-- Popup Menu -->
    118 
    119     <style name="Base.Widget.AppCompat.ListPopupWindow" parent="android:Widget.Material.ListPopupWindow">
    120     </style>
    121 
    122     <style name="Base.Widget.AppCompat.PopupMenu" parent="android:Widget.Material.PopupMenu">
    123     </style>
    124 
    125     <style name="Base.Widget.AppCompat.Light.PopupMenu"
    126         parent="android:Widget.Material.Light.PopupMenu">
    127     </style>
    128 
    129     <style name="Base.Widget.AppCompat.PopupMenu.Overflow">
    130         <item name="android:dropDownHorizontalOffset">-4dip</item>
    131         <item name="android:overlapAnchor">true</item>
    132     </style>
    133 
    134     <style name="Base.Widget.AppCompat.Light.PopupMenu.Overflow">
    135         <item name="android:dropDownHorizontalOffset">-4dip</item>
    136         <item name="android:overlapAnchor">true</item>
    137     </style>
    138 
    139     <style name="Base.TextAppearance.AppCompat.Widget.PopupMenu.Large"
    140         parent="android:TextAppearance.Material.Widget.PopupMenu.Large">
    141     </style>
    142 
    143     <style name="Base.TextAppearance.AppCompat.Widget.PopupMenu.Small"
    144         parent="android:TextAppearance.Material.Widget.PopupMenu.Small">
    145     </style>
    146 
    147     <style name="Base.TextAppearance.AppCompat.Light.Widget.PopupMenu.Large"
    148         parent="android:TextAppearance.Material.Widget.PopupMenu.Large">
    149     </style>
    150 
    151     <style name="Base.TextAppearance.AppCompat.Light.Widget.PopupMenu.Small"
    152         parent="android:TextAppearance.Material.Widget.PopupMenu.Small">
    153     </style>
    154 
    155     <style name="Base.TextAppearance.AppCompat.Widget.PopupMenu.Header" parent="TextAppearance.AppCompat">
    156         <item name="android:fontFamily">@string/abc_font_family_title_material</item>
    157         <item name="android:textSize">@dimen/abc_text_size_menu_header_material</item>
    158         <item name="android:textColor">?android:attr/textColorSecondary</item>
    159     </style>
    160 
    161     <!-- Search View result styles -->
    162 
    163     <style name="Base.TextAppearance.AppCompat.SearchResult.Title"
    164            parent="android:TextAppearance.Material.SearchResult.Title">
    165     </style>
    166 
    167     <style name="Base.TextAppearance.AppCompat.SearchResult.Subtitle"
    168            parent="android:TextAppearance.Material.SearchResult.Subtitle">
    169     </style>
    170 
    171     <style name="Base.Widget.AppCompat.AutoCompleteTextView" parent="android:Widget.Material.AutoCompleteTextView">
    172         <item name="android:background">?attr/editTextBackground</item>
    173     </style>
    174 
    175     <style name="Base.Widget.AppCompat.EditText" parent="android:Widget.Material.EditText">
    176         <item name="android:background">?attr/editTextBackground</item>
    177     </style>
    178 
    179     <style name="Base.Widget.AppCompat.RatingBar" parent="android:Widget.Material.RatingBar" />
    180 
    181     <style name="Base.Widget.AppCompat.SeekBar" parent="android:Widget.Material.SeekBar" />
    182 
    183     <style name="Base.Widget.AppCompat.Button" parent="android:Widget.Material.Button" />
    184 
    185     <style name="Base.Widget.AppCompat.Button.Small" parent="android:Widget.Material.Button.Small" />
    186 
    187     <style name="Base.Widget.AppCompat.Button.Borderless" parent="android:Widget.Material.Button.Borderless" />
    188 
    189     <style name="Base.Widget.AppCompat.Button.Borderless.Colored" parent="android:Widget.Material.Button.Borderless.Colored">
    190         <item name="android:textColor">@color/abc_btn_colored_borderless_text_material</item>
    191     </style>
    192 
    193     <style name="Base.Widget.AppCompat.ButtonBar" parent="android:Widget.Material.ButtonBar" />
    194 
    195     <style name="Base.Widget.AppCompat.CompoundButton.CheckBox" parent="android:Widget.Material.CompoundButton.CheckBox" />
    196 
    197     <style name="Base.Widget.AppCompat.CompoundButton.RadioButton" parent="android:Widget.Material.CompoundButton.RadioButton" />
    198 
    199     <style name="Base.Widget.AppCompat.ImageButton" parent="android:Widget.Material.ImageButton" />
    200 
    201     <!-- Progress Bar -->
    202 
    203     <style name="Base.Widget.AppCompat.ProgressBar.Horizontal"
    204            parent="android:Widget.Material.ProgressBar.Horizontal">
    205     </style>
    206 
    207     <style name="Base.Widget.AppCompat.ProgressBar"
    208            parent="android:Widget.Material.ProgressBar">
    209     </style>
    210 
    211     <style name="Base.Widget.AppCompat.TextView.SpinnerItem" parent="android:Widget.Material.TextView.SpinnerItem" />
    212 
    213     <style name="Base.TextAppearance.AppCompat.Widget.TextView.SpinnerItem" parent="android:TextAppearance.Material.Widget.TextView.SpinnerItem" />
    214 
    215 </resources>
    216