Bug 1250900 - Make GeckoPreferences inherit from Theme.AppCompat so that TextLayout doesn't crash r?mcomella
This results in the Preferences activity having a more material-like appearance on Android < 5. We already inherit
from Gecko for v21, so it makes sense to do the same on 14 and below.
MozReview-Commit-ID: GkPowooCJWv
--- a/mobile/android/base/resources/values-v11/themes.xml
+++ b/mobile/android/base/resources/values-v11/themes.xml
@@ -19,17 +19,17 @@
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowActionBar">false</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
</style>
<style name="GeckoTitleDialogBase" parent="@android:style/Theme.Holo.Light.Dialog" />
- <style name="GeckoPreferencesBase" parent="@android:style/Theme.Holo.Light">
+ <style name="GeckoPreferencesBase" parent="Gecko">
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowActionBar">true</item>
<item name="android:windowNoTitle">false</item>
<item name="android:actionBarStyle">@style/ActionBar.GeckoPreferences</item>
</style>
<!--
Activity based themes for API 11+. This theme completely replaces
--- a/mobile/android/base/resources/values/themes.xml
+++ b/mobile/android/base/resources/values/themes.xml
@@ -16,17 +16,17 @@
<style name="GeckoDialogBase" parent="@android:style/Theme.Dialog">
<item name="android:windowNoTitle">true</item>
<item name="android:windowContentOverlay">@null</item>
</style>
<style name="GeckoTitleDialogBase" parent="@android:style/Theme.Dialog" />
- <style name="GeckoPreferencesBase" parent="@android:style/Theme.Light">
+ <style name="GeckoPreferencesBase" parent="Gecko">
<item name="android:windowNoTitle">false</item>
<item name="android:windowContentOverlay">@null</item>
</style>
<!--
Application Theme. All customizations that are not specific
to a particular API level can go here.
-->