1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mobile/android/base/resources/values-v11/styles.xml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,112 @@ 1.4 +<?xml version="1.0" encoding="utf-8"?> 1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public 1.6 + - License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 1.8 + 1.9 +<resources xmlns:android="http://schemas.android.com/apk/res/android"> 1.10 + 1.11 + <!-- 1.12 + Only overriden styles for Honeycomb/Ice cream sandwich are specified here. 1.13 + Please refer to values/styles.xml for default styles. 1.14 + --> 1.15 + 1.16 + <!-- 1.17 + Base application styles. This could be overridden in other res/values-XXX/themes.xml. 1.18 + --> 1.19 + <style name="Widget.BaseButton" parent="android:style/Widget.Holo.Light.Button"/> 1.20 + 1.21 + <style name="Widget.BaseDropDownItem" parent="android:style/Widget.Holo.Light.DropDownItem"/> 1.22 + 1.23 + <style name="Widget.BaseEditText" parent="android:style/Widget.Holo.Light.EditText"/> 1.24 + 1.25 + <style name="Widget.BaseListView" parent="android:style/Widget.Holo.ListView"/> 1.26 + 1.27 + <style name="Widget.BaseGridView" parent="android:style/Widget.Holo.GridView"/> 1.28 + 1.29 + <style name="Widget.BaseTextView" parent="android:style/Widget.Holo.Light.TextView"/> 1.30 + 1.31 + <style name="Widget.ProgressBar.Horizontal" parent="android:style/Widget.Holo.ProgressBar.Horizontal"/> 1.32 + 1.33 + 1.34 + <!-- 1.35 + Application styles. All customizations that are not specific 1.36 + to a particular API level can go here. 1.37 + --> 1.38 + <style name="Widget.ListItem"> 1.39 + <item name="android:textColor">@color/select_item_multichoice</item> 1.40 + <item name="android:minHeight">?android:attr/listPreferredItemHeight</item> 1.41 + <item name="android:textAppearance">?android:attr/textAppearanceLarge</item> 1.42 + <item name="android:gravity">center_vertical</item> 1.43 + <item name="android:paddingLeft">12dip</item> 1.44 + <item name="android:paddingRight">7dip</item> 1.45 + <item name="android:checkMark">?android:attr/listChoiceIndicatorMultiple</item> 1.46 + <item name="android:ellipsize">marquee</item> 1.47 + </style> 1.48 + 1.49 + <!-- ActionBar --> 1.50 + <style name="ActionBar" parent="android:style/Widget.Holo.ActionBar" /> 1.51 + 1.52 + <!-- GeckoPreferences ActionBar --> 1.53 + <style name="ActionBar.GeckoPreferences"> 1.54 + <item name="android:displayOptions">showHome|homeAsUp|showTitle</item> 1.55 + </style> 1.56 + 1.57 + <!-- TabsTray ActionBar --> 1.58 + <style name="ActionBar.TabsTray"> 1.59 + <item name="android:visibility">gone</item> 1.60 + </style> 1.61 + 1.62 + <!-- DropDown List View --> 1.63 + <style name="DropDownListView" parent="@android:style/Widget.Holo.ListView.DropDown"> 1.64 + <item name="android:listSelector">@drawable/action_bar_button</item> 1.65 + <item name="android:divider">#FFD1D5DA</item> 1.66 + <item name="android:dividerHeight">1dp</item> 1.67 + </style> 1.68 + 1.69 + <!-- Spinner DropDown Item --> 1.70 + <style name="Widget.DropDownItem.Spinner" parent="@android:style/Widget.Holo.Light.DropDownItem.Spinner"> 1.71 + <item name="android:textColor">#FF000000</item> 1.72 + </style> 1.73 + 1.74 + <style name="Widget.Spinner" parent="android:style/Widget.Holo.Light.Spinner"> 1.75 + <item name="android:minWidth">@dimen/doorhanger_input_width</item> 1.76 + </style> 1.77 + 1.78 + <style name="Widget.TextView.SpinnerItem" parent="android:style/Widget.Holo.Light.TextView.SpinnerItem"> 1.79 + <item name="android:textColor">#FF000000</item> 1.80 + </style> 1.81 + 1.82 + <style name="GeckoActionBar" parent="@android:style/Widget.Holo.Light.ActionMode"> 1.83 + <item name="android:background">@drawable/ab_stacked_transparent_light_holo</item> 1.84 + </style> 1.85 + 1.86 + <style name="GeckoActionBar.Title" parent="@android:style/TextAppearance.Holo.Widget.ActionBar.Title"> 1.87 + <item name="android:drawableLeft">@drawable/ab_done</item> 1.88 + <item name="android:background">@android:color/transparent</item> 1.89 + <item name="android:paddingLeft">15dp</item> 1.90 + <item name="android:paddingRight">15dp</item> 1.91 + </style> 1.92 + 1.93 + <style name="GeckoActionBar.Button" parent="android:style/Widget.Holo.Light.ActionButton"> 1.94 + <item name="android:padding">8dip</item> 1.95 + <!-- The default implementation doesn't do any image scaling. Our custom menus mean we can't just use the same image 1.96 + in both menus and the actionbar without doing some scaling though. --> 1.97 + <item name="android:scaleType">centerInside</item> 1.98 + </style> 1.99 + 1.100 + <style name="GeckoActionBar.Button.MenuButton" parent="android:style/Widget.Holo.Light.ActionButton.Overflow"> 1.101 + <item name="android:scaleType">center</item> 1.102 + <item name="android:background">@android:color/transparent</item> 1.103 + <item name="android:src">@drawable/menu_light</item> 1.104 + </style> 1.105 + 1.106 + <style name="TabInput"></style> 1.107 + 1.108 + <style name="TabInput.TabWidget" parent="android:style/Widget.Holo.Light.TabWidget"/> 1.109 + 1.110 + <style name="TabInput.Tab" parent="android:style/Widget.Holo.Light.Tab"> 1.111 + <item name="android:minHeight">@dimen/menu_item_row_height</item> 1.112 + <item name="android:textAllCaps">true</item> 1.113 + </style> 1.114 + 1.115 +</resources>