mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-10 05:47:04 +00:00
Bug 878613 - Fix styling of spinner popups. r=sriram
This commit is contained in:
parent
e2c420c39b
commit
d6a0348221
@ -69,7 +69,7 @@ public class DoorHanger extends LinearLayout implements Button.OnClickListener {
|
||||
mValue = value;
|
||||
|
||||
if (sInputPadding == -1) {
|
||||
sInputPadding = getResources().getDimensionPixelSize(R.dimen.doorhanger_padding_spinners);
|
||||
sInputPadding = getResources().getDimensionPixelSize(R.dimen.doorhanger_padding);
|
||||
}
|
||||
if (sSpinnerTextColor == -1) {
|
||||
sSpinnerTextColor = getResources().getColor(R.color.text_color_primary_disable_only);
|
||||
|
@ -74,8 +74,8 @@
|
||||
</style>
|
||||
|
||||
<!-- Spinner DropDown Item -->
|
||||
<style name="SpinnerDropDownItem" parent="@android:style/Widget.Holo.DropDownItem.Spinner">
|
||||
<item name="android:textColor">#FF222222</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">
|
||||
|
@ -44,6 +44,7 @@
|
||||
<item name="android:listViewStyle">@style/Widget.ListView</item>
|
||||
<item name="android:spinnerStyle">@style/Widget.Spinner</item>
|
||||
<item name="android:spinnerItemStyle">@style/Widget.TextView.SpinnerItem</item>
|
||||
<item name="android:spinnerDropDownItemStyle">@style/Widget.DropDownItem.Spinner</item>
|
||||
<item name="menuItemActionBarStyle">@style/Widget.MenuItemActionBar</item>
|
||||
<item name="menuItemActionViewStyle">@style/Widget.MenuItemActionView</item>
|
||||
<item name="menuItemDefaultStyle">@style/Widget.MenuItemDefault</item>
|
||||
|
@ -39,7 +39,6 @@
|
||||
<dimen name="doorhanger_input_width">250dp</dimen>
|
||||
<dimen name="doorhanger_spinner_textsize">9sp</dimen>
|
||||
<dimen name="doorhanger_padding">15dp</dimen>
|
||||
<dimen name="doorhanger_padding_spinners">10dp</dimen>
|
||||
|
||||
<dimen name="flow_layout_spacing">6dp</dimen>
|
||||
<dimen name="menu_item_action_icon">80dp</dimen>
|
||||
|
@ -69,8 +69,6 @@
|
||||
<item name="android:minWidth">@dimen/doorhanger_input_width</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.TextView.SpinnerItem" parent="android:style/Widget.TextView.SpinnerItem"/>
|
||||
|
||||
<style name="Widget.MenuItemActionBar">
|
||||
<item name="android:padding">@dimen/browser_toolbar_button_padding</item>
|
||||
<item name="android:background">@drawable/action_bar_button</item>
|
||||
|
@ -82,7 +82,6 @@
|
||||
<item name="android:editTextStyle">@style/Widget.EditText</item>
|
||||
<item name="android:textViewStyle">@style/Widget.TextView</item>
|
||||
<item name="android:spinnerStyle">@style/Widget.Spinner</item>
|
||||
<item name="android:spinnerItemStyle">@style/Widget.TextView.SpinnerItem</item>
|
||||
</style>
|
||||
|
||||
<style name="Gecko.AwesomeBar" parent="GeckoAwesomeBarBase">
|
||||
|
Loading…
Reference in New Issue
Block a user