зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1488720 - [Android M+] improve themes.xml; r=jchen
The issue in this ticket was because of missing menuItemSecondaryActionBarStyle, property of the menu items shown in the SecondaryActionBar. The GeckoAppBase style from values-v23/themes.xml contained the properties initially defined in the general values/themes.xml. Now changed to contain the properties from the closest values-v21/themes.xml. Differential Revision: https://phabricator.services.mozilla.com/D5031 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
2cab48f64d
Коммит
ed0be33ea1
|
@ -10,11 +10,13 @@
|
|||
-->
|
||||
<style name="GeckoAppBase" parent="Gecko">
|
||||
<!-- Following are defaults from res/values/themes.xml#GeckoAppBase -->
|
||||
<item name="android:buttonStyle">@style/Widget.Button</item>
|
||||
<item name="android:dropDownItemStyle">@style/Widget.DropDownItem</item>
|
||||
<item name="android:editTextStyle">@style/Widget.EditText</item>
|
||||
<item name="android:textViewStyle">@style/Widget.TextView</item>
|
||||
<item name="android:actionButtonStyle">@style/GeckoActionBar.Button</item>
|
||||
<item name="android:listViewStyle">@style/Widget.ListView</item>
|
||||
<item name="android:spinnerDropDownItemStyle">@style/Widget.DropDownItem.Spinner</item>
|
||||
<item name="android:spinnerItemStyle">@style/Widget.TextView.SpinnerItem</item>
|
||||
<item name="menuItemSwitcherLayoutStyle">@style/Widget.MenuItemSwitcherLayout</item>
|
||||
<item name="menuItemDefaultStyle">@style/Widget.MenuItemDefault</item>
|
||||
<item name="menuItemSecondaryActionBarStyle">@style/Widget.MenuItemSecondaryActionBar</item>
|
||||
|
||||
<!-- Following are used to apply a Photon theme to date/time pickers only on API >=23 -->
|
||||
<item name="android:timePickerStyle" >@style/PhotonTimePicker</item>
|
||||
|
|
Загрузка…
Ссылка в новой задаче