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