blob: 20b509e132e2f88bf56fccd2788454b9d05172ec [file] [log] [blame]
Brian Attwellc8a6a4b2014-05-16 12:49:15 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (C) 2013 The Android Open Source Project
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16-->
Alan Viverette460f28c2014-06-09 17:44:37 -070017<layer-list xmlns:android="http://schemas.android.com/apk/res/android"
Brian Attwellc8a6a4b2014-05-16 12:49:15 -070018 android:tint="@color/tab_pressed_color">
19 <item>
Alan Viverette460f28c2014-06-09 17:44:37 -070020 <ripple android:color="@color/tab_pressed_color">
Brian Attwellb7059eb2014-05-21 00:31:19 -070021 <item android:drawable="@color/tab_default_color" />
22 </ripple>
23 </item>
24 <item>
Brian Attwellc8a6a4b2014-05-16 12:49:15 -070025 <selector>
26 <item android:drawable="@drawable/tab_selected"
27 android:state_focused="false"
28 android:state_pressed="false"
29 android:state_selected="true" />
30 <item android:drawable="@drawable/tab_selected_focused"
31 android:state_focused="true"
32 android:state_pressed="false"
33 android:state_selected="true" />
34 <item android:drawable="@drawable/tab_unselected_focused"
35 android:state_focused="true"
36 android:state_pressed="false"
37 android:state_selected="false" />
38 <item android:drawable="@drawable/tab_selected"
39 android:state_selected="true" />
Brian Attwellc8a6a4b2014-05-16 12:49:15 -070040 </selector>
41 </item>
Brian Attwellb7059eb2014-05-21 00:31:19 -070042</layer-list>