Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: mobile/android/base/resources/values-v21/themes.xml

Issue 29348083: Issue 3769 - UI colours gone bad (Closed)
Patch Set: Created July 21, 2016, 2:09 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mobile/android/base/resources/values-v21/themes.xml
===================================================================
--- a/mobile/android/base/resources/values-v21/themes.xml
+++ b/mobile/android/base/resources/values-v21/themes.xml
@@ -1,23 +1,25 @@
<?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>
+ <!-- Using ABB color palette in some styles. See https://issues.adblockplus.org/ticket/3769 -->
+
<!--
Base application theme.
-->
- <style name="GeckoBase" parent="@android:style/Theme.Material.Light">
- <item name="android:colorPrimary">@color/text_and_tabs_tray_grey</item>
- <item name="android:colorPrimaryDark">@color/placeholder_active_grey</item>
+ <style name="GeckoBase" parent="Theme.AppCompat.Light">
+ <item name="colorPrimary">@color/abb_background_light_grey</item>
+ <item name="colorPrimaryDark">@color/placeholder_active_grey</item>
<item name="windowActionBar">false</item>
- <item name="android:windowNoTitle">true</item>
+ <item name="windowNoTitle">true</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:actionBarStyle">@style/GeckoActionBar</item>
<item name="android:actionBarTheme">@style/ActionBarTheme</item>
<!-- TODO (bug 1220863): Once we extend AppCompatActivity, set actionBarStyle. -->
<item name="android:alertDialogTheme">@style/GeckoAlertDialog</item>
</style>
<style name="GeckoPreferencesBase" parent="Gecko">

Powered by Google App Engine
This is Rietveld