Bug 987864 - Move API 13 styles to values-v13 folder. r=wesj, a=sledru
authorBrian Nicholson <bnicholson@mozilla.com>
Wed, 23 Jul 2014 21:50:49 -0700
changeset 208244 68181edc64c1
parent 208243 f5df74fab22f
child 208245 cda6534d9780
push id3788
push userryanvm@gmail.com
push date2014-08-06 15:01 +0000
treeherdermozilla-beta@adb28e85421f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerswesj, sledru
bugs987864
milestone32.0
Bug 987864 - Move API 13 styles to values-v13 folder. r=wesj, a=sledru
mobile/android/base/resources/values-v11/styles.xml
mobile/android/base/resources/values-v13/styles.xml
mobile/android/base/resources/values-v14/styles.xml
--- a/mobile/android/base/resources/values-v11/styles.xml
+++ b/mobile/android/base/resources/values-v11/styles.xml
@@ -75,17 +75,19 @@
     <style name="Widget.TextView.SpinnerItem" parent="android:style/Widget.Holo.Light.TextView.SpinnerItem">
         <item name="android:textColor">#FF000000</item>
     </style>
 
     <style name="GeckoActionBar" parent="@android:style/Widget.Holo.Light.ActionMode">
         <item name="android:background">@drawable/ab_stacked_transparent_light_holo</item>
     </style>
 
-    <style name="GeckoActionBar.Title" parent="@android:style/TextAppearance.Holo.Widget.ActionBar.Title">
+    <style name="TextAppearance.Widget.ActionBar.Title" parent="@android:style/TextAppearance.Medium"/>
+
+    <style name="GeckoActionBar.Title" parent="TextAppearance.Widget.ActionBar.Title">
         <item name="android:drawableLeft">@drawable/ab_done</item>
         <item name="android:background">@android:color/transparent</item>
         <item name="android:paddingLeft">15dp</item>
         <item name="android:paddingRight">15dp</item>
     </style>
 
     <style name="GeckoActionBar.Button" parent="android:style/Widget.Holo.Light.ActionButton">
         <item name="android:padding">8dip</item>
rename from mobile/android/base/resources/values-v14/styles.xml
rename to mobile/android/base/resources/values-v13/styles.xml
--- a/mobile/android/base/resources/values-v14/styles.xml
+++ b/mobile/android/base/resources/values-v13/styles.xml
@@ -1,13 +1,15 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 
 <resources xmlns:android="http://schemas.android.com/apk/res/android">
-    
+
     <style name="GeckoDialogTitle">
-        <!-- Override this to use a Holo theme on v14+ -->
+        <!-- Override this to use a Holo theme on v13+ -->
         <item name="android:textAppearance">@android:style/TextAppearance.Holo.DialogWindowTitle</item>
     </style>
 
+    <style name="TextAppearance.Widget.ActionBar.Title" parent="@android:style/TextAppearance.Holo.Widget.ActionBar.Title"/>
+
 </resources>