Android horizontal progress bar with 4 colors

时间:2016-11-12 05:31:58

标签: android android-progressbar

I need to implement a progress bar which indicates 4 states. Say first state ranges from 0-25 where I need to show one color to indicate "low", second from 25-50 to show another color for "medium", third state from 50-75 with another color for "high" and the rest with another color for "critical". I have seen only examples with progress,secondaryProgress and background color implementation.Can some one tell me a solution for this?(Nb:I don't need the black separator in between)progress_bar

0 个答案:

没有答案