|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public |
|
3 - License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
|
5 |
|
6 <resources xmlns:android="http://schemas.android.com/apk/res/android"> |
|
7 |
|
8 <!-- |
|
9 Only overriden styles for Honeycomb/Ice cream sandwich are specified here. |
|
10 Please refer to values/styles.xml for default styles. |
|
11 --> |
|
12 |
|
13 <!-- |
|
14 Base application styles. This could be overridden in other res/values-XXX/themes.xml. |
|
15 --> |
|
16 <style name="Widget.BaseButton" parent="android:style/Widget.Holo.Light.Button"/> |
|
17 |
|
18 <style name="Widget.BaseDropDownItem" parent="android:style/Widget.Holo.Light.DropDownItem"/> |
|
19 |
|
20 <style name="Widget.BaseEditText" parent="android:style/Widget.Holo.Light.EditText"/> |
|
21 |
|
22 <style name="Widget.BaseListView" parent="android:style/Widget.Holo.ListView"/> |
|
23 |
|
24 <style name="Widget.BaseGridView" parent="android:style/Widget.Holo.GridView"/> |
|
25 |
|
26 <style name="Widget.BaseTextView" parent="android:style/Widget.Holo.Light.TextView"/> |
|
27 |
|
28 <style name="Widget.ProgressBar.Horizontal" parent="android:style/Widget.Holo.ProgressBar.Horizontal"/> |
|
29 |
|
30 |
|
31 <!-- |
|
32 Application styles. All customizations that are not specific |
|
33 to a particular API level can go here. |
|
34 --> |
|
35 <style name="Widget.ListItem"> |
|
36 <item name="android:textColor">@color/select_item_multichoice</item> |
|
37 <item name="android:minHeight">?android:attr/listPreferredItemHeight</item> |
|
38 <item name="android:textAppearance">?android:attr/textAppearanceLarge</item> |
|
39 <item name="android:gravity">center_vertical</item> |
|
40 <item name="android:paddingLeft">12dip</item> |
|
41 <item name="android:paddingRight">7dip</item> |
|
42 <item name="android:checkMark">?android:attr/listChoiceIndicatorMultiple</item> |
|
43 <item name="android:ellipsize">marquee</item> |
|
44 </style> |
|
45 |
|
46 <!-- ActionBar --> |
|
47 <style name="ActionBar" parent="android:style/Widget.Holo.ActionBar" /> |
|
48 |
|
49 <!-- GeckoPreferences ActionBar --> |
|
50 <style name="ActionBar.GeckoPreferences"> |
|
51 <item name="android:displayOptions">showHome|homeAsUp|showTitle</item> |
|
52 </style> |
|
53 |
|
54 <!-- TabsTray ActionBar --> |
|
55 <style name="ActionBar.TabsTray"> |
|
56 <item name="android:visibility">gone</item> |
|
57 </style> |
|
58 |
|
59 <!-- DropDown List View --> |
|
60 <style name="DropDownListView" parent="@android:style/Widget.Holo.ListView.DropDown"> |
|
61 <item name="android:listSelector">@drawable/action_bar_button</item> |
|
62 <item name="android:divider">#FFD1D5DA</item> |
|
63 <item name="android:dividerHeight">1dp</item> |
|
64 </style> |
|
65 |
|
66 <!-- Spinner DropDown Item --> |
|
67 <style name="Widget.DropDownItem.Spinner" parent="@android:style/Widget.Holo.Light.DropDownItem.Spinner"> |
|
68 <item name="android:textColor">#FF000000</item> |
|
69 </style> |
|
70 |
|
71 <style name="Widget.Spinner" parent="android:style/Widget.Holo.Light.Spinner"> |
|
72 <item name="android:minWidth">@dimen/doorhanger_input_width</item> |
|
73 </style> |
|
74 |
|
75 <style name="Widget.TextView.SpinnerItem" parent="android:style/Widget.Holo.Light.TextView.SpinnerItem"> |
|
76 <item name="android:textColor">#FF000000</item> |
|
77 </style> |
|
78 |
|
79 <style name="GeckoActionBar" parent="@android:style/Widget.Holo.Light.ActionMode"> |
|
80 <item name="android:background">@drawable/ab_stacked_transparent_light_holo</item> |
|
81 </style> |
|
82 |
|
83 <style name="GeckoActionBar.Title" parent="@android:style/TextAppearance.Holo.Widget.ActionBar.Title"> |
|
84 <item name="android:drawableLeft">@drawable/ab_done</item> |
|
85 <item name="android:background">@android:color/transparent</item> |
|
86 <item name="android:paddingLeft">15dp</item> |
|
87 <item name="android:paddingRight">15dp</item> |
|
88 </style> |
|
89 |
|
90 <style name="GeckoActionBar.Button" parent="android:style/Widget.Holo.Light.ActionButton"> |
|
91 <item name="android:padding">8dip</item> |
|
92 <!-- The default implementation doesn't do any image scaling. Our custom menus mean we can't just use the same image |
|
93 in both menus and the actionbar without doing some scaling though. --> |
|
94 <item name="android:scaleType">centerInside</item> |
|
95 </style> |
|
96 |
|
97 <style name="GeckoActionBar.Button.MenuButton" parent="android:style/Widget.Holo.Light.ActionButton.Overflow"> |
|
98 <item name="android:scaleType">center</item> |
|
99 <item name="android:background">@android:color/transparent</item> |
|
100 <item name="android:src">@drawable/menu_light</item> |
|
101 </style> |
|
102 |
|
103 <style name="TabInput"></style> |
|
104 |
|
105 <style name="TabInput.TabWidget" parent="android:style/Widget.Holo.Light.TabWidget"/> |
|
106 |
|
107 <style name="TabInput.Tab" parent="android:style/Widget.Holo.Light.Tab"> |
|
108 <item name="android:minHeight">@dimen/menu_item_row_height</item> |
|
109 <item name="android:textAllCaps">true</item> |
|
110 </style> |
|
111 |
|
112 </resources> |