зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1195287 - Fix wrong colors in text selection toolbar on v21+. r=mhaigh
This patch creates a copy of the GeckoAppBase style in v21/themes.xml and removes the custom icons for copy, cut and paste we use on v11+. Instead the system icons, that match the look&feel of the ActionBar, will be used. --HG-- extra : commitid : bb07iANzjF extra : rebase_source : 3b057830c78f5cac1361474d3c60eeaf86eda1d6 extra : amend_source : 86e0168b47967e3e66cd36b151b33ccefd2e2af7
This commit is contained in:
Родитель
aaaa54f2e5
Коммит
2ba1ac1007
|
@ -23,4 +23,16 @@
|
|||
<style name="ActionBar.GeckoPreferences" parent="@android:style/Widget.Material.ActionBar.Solid">
|
||||
</style>
|
||||
|
||||
<style name="GeckoAppBase" parent="Gecko">
|
||||
<item name="android:actionButtonStyle">@style/GeckoActionBar.Button</item>
|
||||
<item name="android:listViewStyle">@style/Widget.ListView</item>
|
||||
<item name="android:panelBackground">@drawable/menu_panel_bg</item>
|
||||
<item name="android:spinnerDropDownItemStyle">@style/Widget.DropDownItem.Spinner</item>
|
||||
<item name="android:spinnerItemStyle">@style/Widget.TextView.SpinnerItem</item>
|
||||
<item name="menuItemActionViewStyle">@style/Widget.MenuItemActionView</item>
|
||||
<item name="menuItemDefaultStyle">@style/Widget.MenuItemDefault</item>
|
||||
<item name="menuItemSecondaryActionBarStyle">@style/Widget.MenuItemSecondaryActionBar</item>
|
||||
<item name="tabGridLayoutViewStyle">@style/Widget.TabsGridLayout</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
|
Загрузка…
Ссылка в новой задаче