I am trying to implement a seekbar , which has different progress color to signify the progress
What i want to implement is like this
but what i am ending up with is this
as you can see the progress light blue color img is not coming over the darkblue color line img
both of these are png images
XML for seekbar
<SeekBar
android:id="@+id/custom_seekBar"
android:layout_width="365dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="-12dp"
android:max="100"
android:paddingLeft="7dp"
android:paddingRight="20dp"
android:progressDrawable="@drawable/progress_background_selector"
android:thumb="@drawable/slider_button" />
android:progressDrawable="@drawable/progress_background_selector" referes this xml
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:id="@android:id/background"
android:drawable="@drawable/normal_slider_bg"/>
<item android:id="@android:id/secondaryProgress">
<scale
android:drawable="@drawable/normal_slider_bg"
android:scaleWidth="100%" />
</item>
<item android:id="@android:id/progress">
<scale
android:drawable="@drawable/selected_slider_bg"
android:scaleWidth="100%" />
</item>
</layer-list>