gecko-dev/mobile/android/base/resources/values-v11/styles.xml
2013-02-28 15:27:51 -08:00

86 lines
3.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<!--
Only overriden styles for Honeycomb/Ice cream sandwich are specified here.
Please refer to values/styles.xml for default styles.
-->
<!-- Lists in AwesomeBar -->
<style name="GeckoList" parent="android:style/Widget.Holo.ListView">
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:layout_weight">1</item>
<item name="android:background">#EEF1F5</item>
<item name="android:divider">#D1D5DA</item>
<item name="android:dividerHeight">1dp</item>
<item name="android:cacheColorHint">#EEF1F5</item>
<item name="android:listSelector">@drawable/action_bar_button</item>
</style>
<style name="GeckoList.ListItem">
<item name="android:textColor">@color/select_item_multichoice</item>
<item name="android:minHeight">?android:attr/listPreferredItemHeight</item>
<item name="android:textAppearance">?android:attr/textAppearanceLarge</item>
<item name="android:gravity">center_vertical</item>
<item name="android:paddingLeft">12dip</item>
<item name="android:paddingRight">7dip</item>
<item name="android:checkMark">?android:attr/listChoiceIndicatorMultiple</item>
<item name="android:ellipsize">marquee</item>
</style>
<!-- AwesomeBar -->
<style name="AwesomeBar">
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">@dimen/browser_toolbar_height</item>
<item name="android:orientation">horizontal</item>
</style>
<!-- Lists in AwesomeBar -->
<style name="AwesomeBarList" parent="@style/GeckoList"/>
<!-- ActionBar -->
<style name="ActionBar" parent="android:style/Widget.Holo.ActionBar" />
<!-- AwesomeBar ActionBar -->
<style name="ActionBar.AwesomeBar">
<item name="android:displayOptions">showCustom</item>
<item name="android:customNavigationLayout">@layout/awesomebar_actionbar</item>
<item name="android:visibility">gone</item>
</style>
<!-- GeckoPreferences ActionBar -->
<style name="ActionBar.GeckoPreferences">
<item name="android:background">@color/background_normal</item>
<item name="android:displayOptions">showHome|homeAsUp|showTitle</item>
</style>
<!-- TabsTray ActionBar -->
<style name="ActionBar.TabsTray">
<item name="android:visibility">gone</item>
</style>
<!-- DropDown List View -->
<style name="DropDownListView" parent="@android:style/Widget.Holo.ListView.DropDown">
<item name="android:listSelector">@drawable/action_bar_button</item>
<item name="android:divider">#FFD1D5DA</item>
<item name="android:dividerHeight">1dp</item>
</style>
<!-- Spinner Item -->
<style name="SpinnerItem" parent="@android:style/Widget.Holo.Light.TextView.SpinnerItem">
<item name="android:textColor">#FFFFFFFF</item>
<item name="android:textSize">18sp</item>
</style>
<!-- Spinner DropDown Item -->
<style name="SpinnerDropDownItem" parent="@android:style/Widget.Holo.DropDownItem.Spinner">
<item name="android:textColor">#FF222222</item>
</style>
</resources>