mobile/android/base/resources/values-v11/themes.xml
author Michael Comella <michael.l.comella@gmail.com>
Thu, 15 Oct 2015 14:55:28 -0700
changeset 304776 623b15184f2a3da0e2b339a70fbdf49595b19b80
parent 303315 99f0ffcc569040bd68d005bbacd77db68b0568a5
child 305370 6e11b576f3ce5ca13547cb9d745229801819e3d3
permissions -rw-r--r--
Bug 1140210 - Rename MenuItemActionView styles to new name. r=liuche

<?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">

    <!--
        Base application theme. This could be overridden by GeckoBaseTheme
        in other res/values-XXX/themes.xml.
    -->
    <style name="GeckoBase" parent="Theme.AppCompat.Light.DarkActionBar">
        <item name="android:windowContentOverlay">@null</item>
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
    </style>

    <style name="GeckoDialogBase" parent="@android:style/Theme.Holo.Light.Dialog">
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:windowActionBar">false</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowBackground">@android:color/transparent</item>
    </style>

    <style name="GeckoTitleDialogBase" parent="@android:style/Theme.Holo.Light.Dialog" />

    <style name="GeckoPreferencesBase" parent="@android:style/Theme.Holo.Light">
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:windowActionBar">true</item>
        <item name="android:windowNoTitle">false</item>
        <item name="android:actionBarStyle">@style/ActionBar.GeckoPreferences</item>
    </style>

    <!--
        Activity based themes for API 11+. This theme completely replaces
        GeckoAppBase from res/values/themes.xml on API 11+ devices.
    -->
    <style name="GeckoAppBase" parent="Gecko">
        <item name="android:actionButtonStyle">@style/GeckoActionBar.Button</item>
        <item name="android:actionModeCopyDrawable">@drawable/ab_copy</item>
        <item name="android:actionModeCutDrawable">@drawable/ab_cut</item>
        <item name="android:actionModePasteDrawable">@drawable/ab_paste</item>
        <item name="android:listViewStyle">@style/Widget.ListView</item>
        <item name="android:panelBackground">@drawable/menu_panel_bg</item>
        <item name="android:spinnerDropDownItemStyle">@style/Widget.DropDownItem.Spinner</item>
        <item name="android:spinnerItemStyle">@style/Widget.TextView.SpinnerItem</item>
        <item name="menuItemSwitcherLayoutStyle">@style/Widget.MenuItemSwitcherLayout</item>
        <item name="menuItemDefaultStyle">@style/Widget.MenuItemDefault</item>
        <item name="menuItemSecondaryActionBarStyle">@style/Widget.MenuItemSecondaryActionBar</item>
        <item name="tabGridLayoutViewStyle">@style/Widget.TabsGridLayout</item>
    </style>

</resources>