Home | History | Annotate | Download | only in values-v14
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2012 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 
     19     <!-- Themes in the "Theme.Base" family vary based on the current platform
     20           version to provide the correct basis on each device. You probably don't
     21           want to use them directly in your apps.
     22 
     23           Themes in the "Theme.AppCompat" family are meant to be extended or used
     24           directly by apps.
     25 
     26           This is the values-v14/ file that only declares the Base themes for
     27           Ice Cream Sandwich+. You probably want to edit values/themes.xml instead. -->
     28     <eat-comment/>
     29 
     30     <!-- Base platform-dependent theme providing an action bar in a dark-themed activity. -->
     31     <style name="Theme.Base.AppCompat" parent="android:Theme.Holo">
     32         <!-- Copy system flag values for our use -->
     33         <item name="windowActionBar">?android:attr/windowActionBar</item>
     34         <item name="actionBarSize">?android:attr/actionBarSize</item>
     35         <item name="actionBarItemBackground">?android:attr/actionBarItemBackground</item>
     36         <item name="selectableItemBackground">?android:attr/selectableItemBackground</item>
     37         <item name="actionButtonStyle">?android:attr/actionButtonStyle</item>
     38         <item name="dividerVertical">?android:attr/dividerVertical</item>
     39         <item name="dividerHorizontal">?android:attr/dividerHorizontal</item>
     40         <item name="actionBarWidgetTheme">@null</item>
     41         <item name="android:actionBarWidgetTheme">?attr/actionBarWidgetTheme</item>
     42 
     43         <!-- Required for use of support_simple_spinner_dropdown_item.xml -->
     44         <item name="listPreferredItemHeight">?android:attr/listPreferredItemHeight</item>
     45         <item name="listPreferredItemHeightSmall">?android:attr/listPreferredItemHeightSmall</item>
     46         <item name="listPreferredItemHeightLarge">?android:attr/listPreferredItemHeightLarge</item>
     47         <item name="listPreferredItemPaddingLeft">?android:attr/listPreferredItemPaddingLeft</item>
     48         <item name="listPreferredItemPaddingRight">?android:attr/listPreferredItemPaddingRight
     49         </item>
     50 
     51         <!-- Attributes populated from the framework to be read by apps -->
     52         <item name="buttonBarStyle">?android:attr/buttonBarStyle</item>
     53         <item name="buttonBarButtonStyle">?android:attr/buttonBarButtonStyle</item>
     54     </style>
     55 
     56     <!-- Base platform-dependent theme providing an action bar in a light-themed activity. -->
     57     <style name="Theme.Base.AppCompat.Light" parent="android:Theme.Holo.Light">
     58         <!-- Copy system flag values for our use -->
     59         <item name="windowActionBar">?android:attr/windowActionBar</item>
     60         <item name="actionBarSize">?android:attr/actionBarSize</item>
     61         <item name="actionBarItemBackground">?android:attr/actionBarItemBackground</item>
     62         <item name="selectableItemBackground">?android:attr/selectableItemBackground</item>
     63         <item name="actionButtonStyle">?android:attr/actionButtonStyle</item>
     64         <item name="dividerVertical">?android:attr/dividerVertical</item>
     65         <item name="dividerHorizontal">?android:attr/dividerHorizontal</item>
     66         <item name="actionBarWidgetTheme">@null</item>
     67         <item name="android:actionBarWidgetTheme">?attr/actionBarWidgetTheme</item>
     68 
     69         <!-- Required for use of support_simple_spinner_dropdown_item.xml -->
     70         <item name="listPreferredItemHeight">?android:attr/listPreferredItemHeight</item>
     71         <item name="listPreferredItemHeightSmall">?android:attr/listPreferredItemHeightSmall</item>
     72         <item name="listPreferredItemHeightLarge">?android:attr/listPreferredItemHeightLarge</item>
     73         <item name="listPreferredItemPaddingLeft">?android:attr/listPreferredItemPaddingLeft</item>
     74         <item name="listPreferredItemPaddingRight">?android:attr/listPreferredItemPaddingRight
     75         </item>
     76 
     77         <!-- Attributes populated from the framework to be read by apps -->
     78         <item name="buttonBarStyle">?android:attr/buttonBarStyle</item>
     79         <item name="buttonBarButtonStyle">?android:attr/buttonBarButtonStyle</item>
     80     </style>
     81 
     82     <!-- Base platform-dependent theme providing a dark action bar in a light-themed activity. -->
     83     <style name="Theme.Base.AppCompat.Light.DarkActionBar"
     84            parent="android:Theme.Holo.Light.DarkActionBar">
     85         <!-- Copy system flag values for our use -->
     86         <item name="windowActionBar">?android:attr/windowActionBar</item>
     87         <item name="actionBarSize">?android:attr/actionBarSize</item>
     88         <item name="actionBarItemBackground">?android:attr/actionBarItemBackground</item>
     89         <item name="selectableItemBackground">?android:attr/selectableItemBackground</item>
     90         <item name="actionButtonStyle">?android:attr/actionButtonStyle</item>
     91         <item name="dividerVertical">?android:attr/dividerVertical</item>
     92         <item name="dividerHorizontal">?android:attr/dividerHorizontal</item>
     93         <item name="actionBarWidgetTheme">@style/Theme.AppCompat</item>
     94         <item name="android:actionBarWidgetTheme">?attr/actionBarWidgetTheme</item>
     95 
     96         <!-- Required for use of support_simple_spinner_dropdown_item.xml -->
     97         <item name="listPreferredItemHeight">?android:attr/listPreferredItemHeight</item>
     98         <item name="listPreferredItemHeightSmall">?android:attr/listPreferredItemHeightSmall</item>
     99         <item name="listPreferredItemHeightLarge">?android:attr/listPreferredItemHeightLarge</item>
    100         <item name="listPreferredItemPaddingLeft">?android:attr/listPreferredItemPaddingLeft</item>
    101         <item name="listPreferredItemPaddingRight">?android:attr/listPreferredItemPaddingRight
    102         </item>
    103 
    104         <!-- Attributes populated from the framework to be read by apps -->
    105         <item name="buttonBarStyle">?android:attr/buttonBarStyle</item>
    106         <item name="buttonBarButtonStyle">?android:attr/buttonBarButtonStyle</item>
    107     </style>
    108 
    109 </resources>
    110