aspose file tools*
The moose likes Android and the fly likes Issues with Progress Bar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "Issues with Progress Bar" Watch "Issues with Progress Bar" New topic
Author

Issues with Progress Bar

Jean John
Greenhorn

Joined: Dec 21, 2010
Posts: 24

Hi All,
I am trying to implement a scenario where i have a progress bar.start button and a refresh button. When I click the start Button, the progress bar starts from zero and proceeds till max size. At this point of time, the progress bar has a dark background and a yellow progress indicator moving from start to end. Once the progress bar reaches it's max size, the entire progress bar turns green. Now I need to click on the refresh button and restart the whole process(a dark background and a yellow progress indicator moving from start to end and a green progress bar in the end).



I use the following code to achieve a green colour at the end:



The problem I am facing is that once I set the color to green, the green color stays on the entire width of the progress bar and my progress indicator doesn't work anymore.
Please help. I am at my wits end

Thanks,
Jean

 
 
subject: Issues with Progress Bar