I want to have a progress bar which goes as a countdown from 10 to 0 and I want from 10 to 7 to be green then from 7 to 3 yellow and from 3 to 0 red. Can that be accomplished only in XML? I took a look at Android change Horizonal Progress bar color but that just changes the color of the bar, doesn't give me three color bar. Second question is how can I make the progress bar goes from max to 0 instead 0 to max? I mean, I want it to start full and then getting empty.
Thanks in advance. Guillermo.