summaryrefslogtreecommitdiffstats
path: root/mobile/android/base/resources/values-v11/themes.xml
blob: af8145226ed1d3ff5a2836f15909429866f78963 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?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" />

    <!--
        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: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>