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 143428 4651e3ef81a9a8a8682767c5fb8c9ab128207809
parent 143427 ce84e7c8901cb12853c54155f104e17934eeaff4
child 143429 a91d74641b227f18dc4f3c365349d589a65c2bf9
push id32723
push useremorley@mozilla.com
push dateWed, 21 Aug 2013 12:10:14 +0000
treeherdermozilla-inbound@ab6bc4d9e4c0 [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>