to top
ActionBarCompat-Styled / res / values-v14 /

styles.xml

1
<?xml version="1.0" encoding="utf-8"?>
2
<!--
3
  Copyright 2013 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
    <!--
21
        This is the styled theme.
22
 
23
        It extends from Theme.AppCompat.Light, but it could extend from any of
24
        the Theme.AppCompat themes depending on your color scheme. This theme can be applied to
25
        your application or individual activities in the AndroidManifest.xml. In this sample it is
26
        set on the application.
27
 
28
        This differs from the version of this theme in 'res/values', as we revert back to
29
        setting the attributes from the android namespace in ICS+.
30
    -->
31
 
32
    <style name="Theme.Styled" parent="@style/Theme.AppCompat.Light">
33
        <item name="android:actionBarItemBackground">@drawable/selectable_background</item>
34
        <item name="android:actionBarTabStyle">@style/Widget.Styled.ActionBar.TabView</item>
35
        <item name="android:actionBarStyle">@style/Widget.Styled.ActionBar</item>
36
        <item name="android:actionDropDownStyle">
37
            @style/Widget.Styled.Spinner.DropDown.ActionBar
38
        </item>
39
        <item name="android:dropDownListViewStyle">@style/Widget.Styled.ListView.DropDown</item>
40
        <item name="android:popupMenuStyle">@style/Widget.Styled.PopupMenu</item>
41
    </style>
42
 
43
    <style name="Widget.Styled.ActionBar" parent="@style/Widget.AppCompat.Light.ActionBar.Solid">
44
        <item name="android:background">@drawable/ab_solid_styled</item>
45
        <item name="android:backgroundStacked">@drawable/ab_stacked_solid_styled</item>
46
        <item name="android:backgroundSplit">@drawable/ab_bottom_solid_styled</item>
47
        <item name="android:progressBarStyle">@style/Widget.Styled.ProgressBar.Horizontal</item>
48
    </style>
49
 
50
</resources>