summaryrefslogtreecommitdiffstats
path: root/mobile/android/base/resources/values-v11/styles.xml
blob: 1550c18b88f5a20800d80c8cdb1c022ddc440cab (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
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<?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.
    -->

    <!--
        Base application styles. This could be overridden in other res/values-XXX/themes.xml.
    -->
    <style name="Widget.BaseButton" parent="android:style/Widget.Holo.Light.Button"/>

    <style name="Widget.BaseDropDownItem" parent="android:style/Widget.Holo.Light.DropDownItem"/>

    <style name="Widget.BaseEditText" parent="android:style/Widget.Holo.Light.EditText"/>

    <style name="Widget.BaseListView" parent="android:style/Widget.Holo.ListView"/>

    <style name="Widget.BaseGridView" parent="android:style/Widget.Holo.GridView"/>

    <style name="Widget.BaseTextView" parent="android:style/Widget.Holo.Light.TextView"/>

    <style name="Widget.ProgressBar.Horizontal" parent="android:style/Widget.Holo.ProgressBar.Horizontal"/>


    <!--
        Application styles. All customizations that are not specific
        to a particular API level can go here.
    -->
    <style name="Widget.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>

    <!-- ActionBar -->
    <style name="ActionBar" parent="android:style/Widget.Holo.ActionBar" />

    <!-- TabsLayout ActionBar -->
    <style name="ActionBar.TabsLayout">
         <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">@color/toolbar_divider_grey</item>
         <item name="android:dividerHeight">@dimen/page_row_divider_height</item>
    </style>

    <!-- Spinner DropDown Item -->
    <style name="Widget.DropDownItem.Spinner" parent="@android:style/Widget.Holo.Light.DropDownItem.Spinner">
         <item name="android:textColor">#FF000000</item>
    </style>

    <style name="Widget.Spinner" parent="android:style/Widget.Holo.Light.Spinner">
        <item name="android:minWidth">@dimen/doorhanger_input_width</item>
    </style>

    <style name="Widget.TextView.SpinnerItem" parent="android:style/Widget.Holo.Light.TextView.SpinnerItem">
        <item name="android:textColor">#FF000000</item>
    </style>

    <style name="TextAppearance.Widget.ActionBar.Title" parent="@android:style/TextAppearance.Medium"/>

    <style name="GeckoActionBar.Title" parent="TextAppearance.Widget.ActionBar.Title">
        <item name="android:drawableLeft">@drawable/ab_done</item>
        <item name="android:background">@android:color/transparent</item>
        <item name="android:paddingLeft">15dp</item>
        <item name="android:paddingRight">15dp</item>
        <!-- gravity and minWidth are added here to more resemble our values/styles.xml
             counterpart. This is solely to correct bug 1233709 -->
        <item name="android:gravity">center_vertical</item>
        <item name="android:minWidth">0dp</item>
    </style>

    <style name="GeckoActionBar.Button" parent="android:style/Widget.Holo.Light.ActionButton">
        <item name="android:padding">8dip</item>
        <!-- The default implementation doesn't do any image scaling. Our custom menus mean we can't just use the same image
             in both menus and the actionbar without doing some scaling though. -->
        <item name="android:scaleType">centerInside</item>
    </style>

    <style name="GeckoActionBar.Button.MenuButton" parent="android:style/Widget.Holo.Light.ActionButton.Overflow">
        <item name="android:scaleType">centerInside</item>
        <item name="android:background">@android:color/transparent</item>
        <item name="android:src">@drawable/menu</item>
        <item name="android:tint">@color/toolbar_icon_grey</item>
        <item name="android:layout_marginTop">16dp</item>
        <item name="android:layout_marginBottom">16dp</item>
    </style>

    <style name="TabInput"></style>

    <style name="TabInput.TabWidget" parent="android:style/Widget.Holo.Light.TabWidget"/>

    <style name="TabInput.Tab" parent="android:style/Widget.Holo.Light.Tab">
        <item name="android:minHeight">@dimen/menu_item_row_height</item>
        <item name="android:textAllCaps">true</item>
    </style>

</resources>