styles_customactionbar.xml 3.66 KB
Newer Older
Thomas Krex's avatar
Thomas Krex committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<?xml version="1.0" encoding="utf-8"?>
<!--
     File created by the Android Action Bar Style Generator

     Copyright (C) 2011 The Android Open Source Project
     Copyright (C) 2012 readyState Software Ltd

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
  
          http://www.apache.org/licenses/LICENSE-2.0
  
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<resources>

23
	<style name="Theme.Customactionbar" parent="@style/Theme.Sherlock.Light.DarkActionBar">
Thomas Krex's avatar
Thomas Krex committed
24 25 26 27 28 29 30 31 32 33
		<item name="actionBarItemBackground">@drawable/selectable_background_customactionbar</item>
		<item name="dropDownListViewStyle">@style/DropDownListView.Customactionbar</item>
		<item name="actionBarTabStyle">@style/ActionBarTabStyle.Customactionbar</item>
		<item name="actionDropDownStyle">@style/DropDownNav.Customactionbar</item>
		<item name="actionBarStyle">@style/ActionBar.Solid.Customactionbar</item>
		<item name="actionModeBackground">@drawable/cab_background_top_customactionbar</item>
		<item name="actionModeSplitBackground">@drawable/cab_background_bottom_customactionbar</item>
		<item name="actionModeCloseButtonStyle">@style/ActionButton.CloseMode.Customactionbar</item>
	</style>

34
	<style name="ActionBar.Solid.Customactionbar" parent="@style/Widget.Sherlock.Light.ActionBar">
Thomas Krex's avatar
Thomas Krex committed
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
		<item name="background">@drawable/ab_solid_customactionbar</item>
		<item name="backgroundStacked">@drawable/ab_stacked_solid_customactionbar</item>
		<item name="backgroundSplit">@drawable/ab_bottom_solid_customactionbar</item>
		<item name="progressBarStyle">@style/ProgressBar.Customactionbar</item>
	</style>

	<style name="ActionBar.Transparent.Customactionbar" parent="@style/Widget.Sherlock.Light.ActionBar">
		<item name="background">@drawable/ab_transparent_customactionbar</item>
		<item name="progressBarStyle">@style/ProgressBar.Customactionbar</item>
	</style>

	<style name="DropDownListView.Customactionbar" parent="@style/Widget.Sherlock.Light.ListView.DropDown">
		<item name="android:listSelector">@drawable/selectable_background_customactionbar</item>
	</style>

	<style name="ActionBarTabStyle.Customactionbar" parent="@style/Widget.Sherlock.Light.ActionBar.TabView">
		<item name="android:background">@drawable/tab_indicator_ab_customactionbar</item>
	</style>

	<style name="DropDownNav.Customactionbar" parent="@style/Widget.Sherlock.Light.Spinner.DropDown.ActionBar">
		<item name="android:background">@drawable/spinner_background_ab_customactionbar</item>
		<item name="android:popupBackground">@drawable/menu_dropdown_panel_customactionbar</item>
		<item name="android:dropDownSelector">@drawable/selectable_background_customactionbar</item>
	</style>

	<style name="ProgressBar.Customactionbar" parent="@style/Widget.Sherlock.Light.ProgressBar.Horizontal">
		<item name="android:progressDrawable">@drawable/progress_horizontal_customactionbar</item>
	</style>

	<style name="ActionButton.CloseMode.Customactionbar" parent="@style/Widget.Sherlock.Light.ActionButton.CloseMode">
		<item name="android:background">@drawable/btn_cab_done_customactionbar</item>
	</style>

	<!-- this style is only referenced in a Light.DarkActionBar based theme -->
	<style name="Theme.Customactionbar.Widget" parent="@style/Theme.Sherlock">
		<item name="dropDownListViewStyle">@style/DropDownListView.Customactionbar</item>
	</style>

</resources>