I need to create a component such as progressbar (as you can see in image) to act as slider. I searched Internet and find somethings like:
Custom Drawable for ProgressBar/ProgressDialog
but it was not useful for me. Please tell me how can i create this component?

Create your own drawable, for example
progressbar.xmland setandroid:progressDrawable="@drawable/progressbarattrubute on your progress barwrite in
progressbar.xmldrawable this code:and replace
@drawable/progressbar_bgand@drawable/progressbar_bodywith you own 9 patch png images