1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mobile/android/base/resources/drawable/tabs_panel_indicator.xml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,48 @@ 1.4 +<?xml version="1.0" encoding="utf-8"?> 1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public 1.6 + - License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 1.8 + 1.9 +<selector xmlns:android="http://schemas.android.com/apk/res/android"> 1.10 + 1.11 + <item android:state_focused="false" 1.12 + android:state_selected="false" 1.13 + android:state_pressed="false" 1.14 + android:drawable="@android:color/transparent"/> 1.15 + 1.16 + <item android:state_focused="false" 1.17 + android:state_selected="true" 1.18 + android:state_pressed="false" 1.19 + android:drawable="@drawable/tab_indicator_selected"/> 1.20 + 1.21 + <item android:state_focused="true" 1.22 + android:state_selected="false" 1.23 + android:state_pressed="false" 1.24 + android:drawable="@color/highlight_dark_focused"/> 1.25 + 1.26 + <item android:state_focused="true" 1.27 + android:state_selected="true" 1.28 + android:state_pressed="false" 1.29 + android:drawable="@drawable/tab_indicator_selected_focused"/> 1.30 + 1.31 + <item android:state_focused="false" 1.32 + android:state_selected="false" 1.33 + android:state_pressed="true" 1.34 + android:drawable="@color/highlight_dark"/> 1.35 + 1.36 + <item android:state_focused="false" 1.37 + android:state_selected="true" 1.38 + android:state_pressed="true" 1.39 + android:drawable="@color/highlight_dark"/> 1.40 + 1.41 + <item android:state_focused="true" 1.42 + android:state_selected="false" 1.43 + android:state_pressed="true" 1.44 + android:drawable="@color/highlight_dark"/> 1.45 + 1.46 + <item android:state_focused="true" 1.47 + android:state_selected="true" 1.48 + android:state_pressed="true" 1.49 + android:drawable="@color/highlight_dark"/> 1.50 + 1.51 +</selector>