• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Animation like ProgressBar

 
ibrahim yener
Ranch Hand
Posts: 202
Android Java PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all

Sorry for title, i couldn't think better of it.
anyway, I am trying to build custom ProgressBar (Spinnal) but i am stuck because don't know to handle it.

What i want is that progress start at 12 o'clock with red color and becaming white every second or minute or so. Once White blocks reach to 12 o'clock then start reversing becoming RED.
I knew i couldn't clear my self and i create a sample image with photoshop.

All i want to know is how to do and i am not asking entire source code or anything else. Just idea.

Thanks for any help
sample_gradient.png
[Thumbnail for sample_gradient.png]
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
https://github.com/castorflex/SmoothProgressBar has something like that, so its source code may help (you might even want to use that instead of rolling your own).
 
ibrahim yener
Ranch Hand
Posts: 202
Android Java PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks ulf.
That was exactly what i asked for.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's a Google+ group called "Android projects on GitHub" which regularly showcases interesting libraries; you may want to join that, I've already discovered several useful libraries that way (like this one).
 
ibrahim yener
Ranch Hand
Posts: 202
Android Java PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ulf
i have just joined and now reading Group posts.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic