1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2011 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16<selector xmlns:android="http://schemas.android.com/apk/res/android"> 17 <item android:state_enabled="true"> 18 <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> 19 <item android:id="@android:id/background"> 20 <shape android:shape="line"> 21 <stroke 22 android:width="2dip" 23 android:color="@color/voicemail_playback_seek_bar_yet_to_play" 24 /> 25 </shape> 26 </item> 27 <!-- I am not defining a secondary progress colour - we don't use it. --> 28 <item android:id="@android:id/progress"> 29 <clip> 30 <shape android:shape="line"> 31 <stroke 32 android:width="2dip" 33 android:color="@color/voicemail_playback_seek_bar_already_played" 34 /> 35 </shape> 36 </clip> 37 </item> 38 </layer-list> 39 </item> 40 <item> 41 <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> 42 <item android:id="@android:id/background"> 43 <shape android:shape="line"> 44 <stroke 45 android:width="2dip" 46 android:color="@color/voicemail_playback_seek_bar_yet_to_play" 47 /> 48 </shape> 49 </item> 50 <!-- I am not defining a secondary progress colour - we don't use it. --> 51 <item android:id="@android:id/progress"> 52 <clip> 53 <shape android:shape="line"> 54 <stroke 55 android:width="2dip" 56 android:color="@color/voicemail_playback_seek_bar_yet_to_play" 57 /> 58 </shape> 59 </clip> 60 </item> 61 </layer-list> 62 </item> 63</selector> 64