Bug 882715 - Define a background_light pre-defined color (r=sriram)
authorLucas Rocha <lucasr@mozilla.com>
Tue, 25 Jun 2013 20:00:38 +0100
changeset 143359 4651e3ef81a9
parent 143358 ce84e7c8901c
child 143360 a91d74641b22
push id25130
push userlrocha@mozilla.com
push dateWed, 21 Aug 2013 09:41:27 +0000
treeherdermozilla-central@b2486721572e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssriram
bugs882715
milestone24.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 882715 - Define a background_light pre-defined color (r=sriram)
mobile/android/base/resources/layout/gecko_app.xml
mobile/android/base/resources/values/colors.xml
--- a/mobile/android/base/resources/layout/gecko_app.xml
+++ b/mobile/android/base/resources/layout/gecko_app.xml
@@ -32,17 +32,17 @@
                                               android:layout_height="fill_parent"
                                               android:background="@android:color/white"
                                               android:visibility="gone">
 
                 <org.mozilla.gecko.home.HomePagerTabStrip android:layout_width="fill_parent"
                                                           android:layout_height="32dip"
                                                           android:layout_gravity="top"
                                                           android:gravity="bottom"
-                                                          android:background="#FFECF0F3"
+                                                          android:background="@color/background_light"
                                                           gecko:tabIndicatorColor="@color/text_color_highlight"
                                                           android:textAppearance="@style/TextAppearance.Widget.HomePagerTabStrip"/>
 
             </org.mozilla.gecko.home.HomePager>
 
         </RelativeLayout>
 
         <org.mozilla.gecko.FindInPageBar android:id="@+id/find_in_page"
--- a/mobile/android/base/resources/values/colors.xml
+++ b/mobile/android/base/resources/values/colors.xml
@@ -1,14 +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>
+  <color name="background_light">#FFECF0F3</color>
   <color name="background_normal">#FFCED7DE</color>
   <color name="background_private">#FF292C29</color>
   <color name="background_tabs">#FF363B40</color>
   <color name="highlight">#33000000</color>
   <color name="highlight_focused">#1A000000</color>
   <color name="highlight_dark">#33FFFFFF</color>
   <color name="highlight_dark_focused">#1AFFFFFF</color>