А вот так можно делать кастомные seekbar'ы для android'а :))
Custom
red_scrubber_control.xml
:<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/red_scrubber_control_disabled_holo" android:state_enabled="false"/>
<item android:drawable="@drawable/red_scrubber_control_pressed_holo" android:state_pressed="true"/>
<item android:drawable="@drawable/red_scrubber_control_focused_holo" android:state_selected="true"/>
<item android:drawable="@drawable/red_scrubber_control_normal_holo"/>
</selector>
Custom:
red_scrubber_progress.xml
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:id="@android:id/background"
android:drawable="@drawable/red_scrubber_track_holo_light"/>
<item android:id="@android:id/secondaryProgress">
<scale
android:drawable="@drawable/red_scrubber_secondary_holo"
android:scaleWidth="100%" />
</item>
<item android:id="@android:id/progress">
<scale
android:drawable="@drawable/red_scrubber_primary_holo"
android:scaleWidth="100%" />
</item>
</layer-list>
Then copy required drawables from Android source code, I took them here:https://github.com/android/platform_frameworks_base/tree/ics-factoryrom-2-release/core/res/res It is good to copy these drawables for each hdpi, mdpi, xhdpi. For example I use only mdpi:
Then using Photoshop change color from blue to red:
red_scrubber_control_disabled_holo.png: ![red_scrubber_control_disabled_holo](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_twtbWhwZGPxksf0MHi6gmFgqsHc8wHpd5L9Bao3EIF0uYXuQ0oNZ4rcu1VfJafDnoo-LNhQju3DVU82EPNAdY4X0RlkS0=s0-d)
red_scrubber_control_focused_holo.png: ![red_scrubber_control_focused_holo](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_sMIQrZp3nyfK9LyH981uCvwU-PmRImxDLKztCRbT4WeMGiC0vx-su3Kt1uhsCdK1-Ed_WjJbgAT-htykgjEZ4ELPKwtk4=s0-d)
red_scrubber_control_normal_holo.png: ![red_scrubber_control_normal_holo](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_uC_m_MCp8WAayaV7Vay8o-wKoJFmiZPLmzj-Zq3V-Tb1Iai60ryI_q71Rx1Kw5o5NSgaS5tIYr4YpEXeBkdr_2rCIL=s0-d)
red_scrubber_control_pressed_holo.png: ![red_scrubber_control_pressed_holo](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_t8z0vmtFTizEPDXupt-baxakPq1J-9JUcCmiKHvYztdImZ1t2tldoOkFLyKr7oxPy45Hc-5KEzTNXx28Ul03GDzQCBIIE=s0-d)
red_scrubber_primary_holo.9.png: ![red_scrubber_primary_holo.9](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_v0uamdIDPZJKYcrAAQ7S9tbyBiOT0ItIc0QqmsrlLq4iMG2KhqeUWLM4IaTN9huuZAbOCm2uxkxZHu7xtAHjMFRgi5Dw=s0-d)
red_scrubber_secondary_holo.9.png: ![red_scrubber_secondary_holo.9](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_tZ2gc_Eo9DobtDee90UnTumY0Iep_C4DvfZGLc3jEMQx5Q_4N9SP3q-A2stG-aIXqtsOK6n1tat9MVX7Ysg8YKQenJ4Yw=s0-d)
red_scrubber_track_holo_light.9.png: ![red_scrubber_track_holo_light.9](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_txgQkpsH7kItTQzE5TWzCVGiGenIwg0X8YMEQqzJjWWWKm-khqewpWKyLHemkvkiMVUOkmvFo8wA9FDRwhT_2rPoBgbw=s0-d)
Add SeekBar to layout:
<SeekBar
android:id="@+id/seekBar1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:progressDrawable="@drawable/red_scrubber_progress"
android:thumb="@drawable/red_scrubber_control" />
Result:
рецепт взят вот отсюда http://stackoverflow.com/questions/16163215/android-styling-seek-bar