1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 Copyright 2016, 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 --> 17 <selector 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:gearhead="http://schemas.android.com/apk/res-auto" > 20 <item 21 gearhead:state_playing_to_pause="true" 22 android:drawable="@drawable/ic_pause" /> 23 <item 24 gearhead:state_playing_to_stop="true" 25 android:drawable="@drawable/ic_stop" /> 26 <item 27 gearhead:state_paused="true" 28 android:drawable="@drawable/ic_play_arrow" /> 29 <item 30 gearhead:state_buffering_to_pause="true" 31 android:drawable="@drawable/ic_pause" /> 32 <item 33 gearhead:state_buffering_to_stop="true" 34 android:drawable="@drawable/ic_stop" /> 35 <item 36 gearhead:state_stopped="true" 37 android:drawable="@drawable/ic_play_arrow" /> 38 <item 39 gearhead:state_disabled="true" 40 android:drawable="@drawable/ic_play_arrow_off" /> 41 <item android:drawable="@drawable/ic_play_arrow" /> 42 </selector> 43