Wednesday, September 28, 2011

Android – ListView with Seekbar and Button, CountDownTimer

The Android ListView is a handy component and can be customized to show additional view components. In this example, I have included a CountDown timer indicating the time elapsed and time remaining in a voting poll type application. The ListView contains the voting option on which a user can vote by clicking on the Vote button – which increases the Seekbar’s current value. The percentage voted on each element is displayed below the music stereo drum icon!
The scenario:
1. Count down timer is activated and ticks….ticks
2. Voting display is enabled and voting can proceed via the Voting button.
3. Once the Count down timer is over – the voting buttons are disabled!
Enjoy!
Clicking Vote button increases Seekbar value
CountDown timer activated and running!

After Count down timer is complete - voting buttons are inactivated!

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.