I havent got a clue to how to do this. My progress bar should be the shape of cloud. Can someone direct me to a book, tutorial or just give the right step by step method?
Thank you for your time.
I havent got a clue to how to do this. My progress bar should be the shape of cloud. Can someone direct me to a book, tutorial or just give the right step by step method?
Thank you for your time.
I ended up using the Custom Progress Bar with Round Corners as a foundation to mine that Harry Joy recommended. However, if you want the same functionality that android's SDK version, such has intermediate from the ProgressBar class I had to make some changes. The changes I have made enable an intermediate drawable to be defined and animated.
Make sure you follow the instructions here, but replace the RoundProgress class with this:
Now in your activity, you can just call .setIntermediate(true or false) when required.
As shown here you can use image views to get custom scroll bar like effect.
The layout XML for custom progress bar in that example is:
And then he creates a list of images in class file as:
Then he starts a Thread that sleeps for 0.3 seconds and calls the handler with
handler.sendEmptyMessage(0);
and finally in Handler he do the rest of the work of images:Also take a look at here and here.