You will want to subclass View and override the onDraw method.


You may also need another thread to increment the count.  Also, use a 
floating point for the count.


That way you can use 10.5 and the last digit will be halfway between 0 and 
1.




On Monday, November 12, 2012 6:19:55 AM UTC-6, and_dev wrote:
>
> hi
>  
> I am looking for a custom component which will behave like a wheel.
> actually I have to show the some number, which will start with zero and 
> goes upto particular value (say from 0 - 1000).
> In detail it should work like this.
> upto 1000 I have to show 4 images and on the top of it I have to show 1 
> digit per image programmatically.
> whe we start with 0 that time only one image is visible, the movement my 
> count reaches 10 it should make another image visible and on reaching 100 
> it should make another image visible and so on ant by the time my counter 
> should keep on increasing.
> This control should look something like this. I have attached the screen 
> shot of the control how it should look likr.
>  
> Need urgent help on this
>  
>  
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to