Bug 1067429 - Alphabetize theme styles. r=lucasr, a=sledru
authorBrian Nicholson <bnicholson@mozilla.com>
Mon, 22 Sep 2014 11:46:33 -0700
changeset 216840 f29b8812b6d0
parent 216839 bb4423c0da47
child 216841 112a9fe148d2
push id3939
push userryanvm@gmail.com
push date2014-09-25 15:14 +0000
treeherdermozilla-beta@c043fec932a6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslucasr, sledru
bugs1067429
milestone33.0
Bug 1067429 - Alphabetize theme styles. r=lucasr, a=sledru
mobile/android/base/resources/values-v11/themes.xml
mobile/android/base/resources/values/themes.xml
--- a/mobile/android/base/resources/values-v11/themes.xml
+++ b/mobile/android/base/resources/values-v11/themes.xml
@@ -29,38 +29,38 @@
         <item name="android:windowNoTitle">false</item>
         <item name="android:actionBarStyle">@style/ActionBar.GeckoPreferences</item>
     </style>
 
     <!--
         Activity based themes.
     -->
     <style name="Gecko.App">
-        <item name="android:windowBackground">@android:color/white</item>
-        <item name="android:panelBackground">@drawable/menu_panel_bg</item>
-        <item name="android:listViewStyle">@style/Widget.ListView</item>
+        <item name="android:actionButtonStyle">@style/GeckoActionBar.Button</item>
+        <item name="android:actionModeCopyDrawable">@drawable/ab_copy</item>
+        <item name="android:actionModeCutDrawable">@drawable/ab_cut</item>
+        <item name="android:actionModePasteDrawable">@drawable/ab_paste</item>
+        <item name="android:actionModeSelectAllDrawable">@drawable/ab_select_all</item>
+        <item name="android:actionModeStyle">@style/GeckoActionBar</item>
         <item name="android:gridViewStyle">@style/Widget.GridView</item>
-        <item name="android:spinnerStyle">@style/Widget.Spinner</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="android:spinnerDropDownItemStyle">@style/Widget.DropDownItem.Spinner</item>
+        <item name="android:spinnerStyle">@style/Widget.Spinner</item>
+        <item name="android:windowBackground">@android:color/white</item>
+        <item name="bookmarksListViewStyle">@style/Widget.BookmarksListView</item>
+        <item name="floatingHintEditTextStyle">@style/FloatingHintEditText</item>
+        <item name="geckoMenuListViewStyle">@style/Widget.GeckoMenuListView</item>
+        <item name="homeListViewStyle">@style/Widget.HomeListView</item>
         <item name="menuItemActionBarStyle">@style/Widget.MenuItemActionBar</item>
+        <item name="menuItemActionModeStyle">@style/GeckoActionBar.Button</item>
         <item name="menuItemActionViewStyle">@style/Widget.MenuItemActionView</item>
         <item name="menuItemDefaultStyle">@style/Widget.MenuItemDefault</item>
         <item name="menuItemSecondaryActionBarStyle">@style/Widget.MenuItemSecondaryActionBar</item>
         <item name="menuItemShareActionButtonStyle">@style/Widget.MenuItemSecondaryActionBar</item>
-        <item name="bookmarksListViewStyle">@style/Widget.BookmarksListView</item>
+        <item name="panelGridViewStyle">@style/Widget.PanelGridView</item>
         <item name="topSitesGridItemViewStyle">@style/Widget.TopSitesGridItemView</item>
         <item name="topSitesGridViewStyle">@style/Widget.TopSitesGridView</item>
-        <item name="panelGridViewStyle">@style/Widget.PanelGridView</item>
         <item name="topSitesThumbnailViewStyle">@style/Widget.TopSitesThumbnailView</item>
-        <item name="homeListViewStyle">@style/Widget.HomeListView</item>
-        <item name="geckoMenuListViewStyle">@style/Widget.GeckoMenuListView</item>
-        <item name="menuItemActionModeStyle">@style/GeckoActionBar.Button</item>
-        <item name="android:actionModeStyle">@style/GeckoActionBar</item>
-        <item name="android:actionButtonStyle">@style/GeckoActionBar.Button</item>
-        <item name="android:actionModeCutDrawable">@drawable/ab_cut</item>
-        <item name="android:actionModeCopyDrawable">@drawable/ab_copy</item>
-        <item name="android:actionModePasteDrawable">@drawable/ab_paste</item>
-        <item name="android:actionModeSelectAllDrawable">@drawable/ab_select_all</item>
-        <item name="floatingHintEditTextStyle">@style/FloatingHintEditText</item>
     </style>
 
 </resources>
--- a/mobile/android/base/resources/values/themes.xml
+++ b/mobile/android/base/resources/values/themes.xml
@@ -69,34 +69,34 @@
     <style name="Gecko.Dialog" parent="GeckoDialogBase"/>
 
     <style name="Gecko.TitleDialog" parent="GeckoTitleDialogBase"/>
 
     <!--
         Activity based themes.
     -->
     <style name="Gecko.App">
-        <item name="android:windowBackground">@android:color/white</item>
         <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:gridViewStyle">@style/Widget.GridView</item>
+        <item name="android:spinnerStyle">@style/Widget.Spinner</item>
         <item name="android:textViewStyle">@style/Widget.TextView</item>
-        <item name="android:spinnerStyle">@style/Widget.Spinner</item>
+        <item name="android:windowBackground">@android:color/white</item>
         <item name="bookmarksListViewStyle">@style/Widget.BookmarksListView</item>
+        <item name="floatingHintEditTextStyle">@style/FloatingHintEditText</item>
+        <item name="geckoMenuListViewStyle">@style/Widget.GeckoMenuListView</item>
+        <item name="homeListViewStyle">@style/Widget.HomeListView</item>
+        <item name="menuItemActionBarStyle">@style/Widget.MenuItemActionBar</item>
+        <item name="menuItemActionModeStyle">@style/GeckoActionBar.Button</item>
+        <item name="menuItemDefaultStyle">@style/Widget.MenuItemDefault</item>
+        <item name="menuItemShareActionButtonStyle">@style/Widget.MenuItemSecondaryActionBar</item>
+        <item name="panelGridViewStyle">@style/Widget.PanelGridView</item>
         <item name="topSitesGridItemViewStyle">@style/Widget.TopSitesGridItemView</item>
         <item name="topSitesGridViewStyle">@style/Widget.TopSitesGridView</item>
-        <item name="panelGridViewStyle">@style/Widget.PanelGridView</item>
         <item name="topSitesThumbnailViewStyle">@style/Widget.TopSitesThumbnailView</item>
-        <item name="homeListViewStyle">@style/Widget.HomeListView</item>
-        <item name="geckoMenuListViewStyle">@style/Widget.GeckoMenuListView</item>
-        <item name="menuItemDefaultStyle">@style/Widget.MenuItemDefault</item>
-        <item name="menuItemActionBarStyle">@style/Widget.MenuItemActionBar</item>
-        <item name="menuItemActionModeStyle">@style/GeckoActionBar.Button</item>
-        <item name="menuItemShareActionButtonStyle">@style/Widget.MenuItemSecondaryActionBar</item>
-        <item name="floatingHintEditTextStyle">@style/FloatingHintEditText</item>
     </style>
 
     <style name="Gecko.Preferences" parent="GeckoPreferencesBase">
         <item name="floatingHintEditTextStyle">@style/FloatingHintEditText</item>
     </style>
 
 </resources>