Bug 1177611 - Move non-private browsing indicator to static drawables. r=mhaigh a=sylvestre
authorMichael Comella <michael.l.comella@gmail.com>
Thu, 06 Aug 2015 15:31:00 -0700
changeset 288846 1afdf536cb3bc95152b2e733a1f65beb60ac949a
parent 288845 024d7a27df7ea7de7b5c8c68791c31b56673e29f
child 288847 ccdf4542c97d8ee99032df3aaa1f09927dbed4d4
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmhaigh, sylvestre
bugs1177611, 1192048
milestone42.0a2
Bug 1177611 - Move non-private browsing indicator to static drawables. r=mhaigh a=sylvestre This is not strictly necessary, but is a step towards removing the tab_indicator_selected*.png assets (bug 1192048).
mobile/android/base/resources/drawable/tabs_panel_indicator.xml
mobile/android/base/resources/drawable/tabs_panel_indicator_selected.xml
--- a/mobile/android/base/resources/drawable/tabs_panel_indicator.xml
+++ b/mobile/android/base/resources/drawable/tabs_panel_indicator.xml
@@ -15,17 +15,17 @@
           android:state_focused="false"
           android:state_selected="true"
           android:state_pressed="false"
           android:drawable="@drawable/tabs_panel_indicator_selected_private"/>
 
     <item android:state_focused="false"
           android:state_selected="true"
           android:state_pressed="false"
-          android:drawable="@drawable/tab_indicator_selected"/>
+          android:drawable="@drawable/tabs_panel_indicator_selected"/>
 
     <item android:state_focused="true"
           android:state_selected="false"
           android:state_pressed="false"
           android:drawable="@color/highlight_dark_focused"/>
 
     <item android:state_focused="true"
           android:state_selected="true"
new file mode 100644
--- /dev/null
+++ b/mobile/android/base/resources/drawable/tabs_panel_indicator_selected.xml
@@ -0,0 +1,9 @@
+<?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/. -->
+
+<inset xmlns:android="http://schemas.android.com/apk/res/android"
+       android:insetTop="@dimen/tabs_panel_indicator_selected_padding_top"
+       android:drawable="@color/fennec_ui_orange"
+       />