0

I want to create circular progress bar with three different color in it. I am only able to achieve two colors but I am not able to achieve three colors so i want to know that is it possible in progress bar. Simply I want three processes to be done with three different color. Here is my code for two different color in progressbar.

     private HoloCircularProgressBar mHoloCircularProgressBarCount
        mHoloCircularProgressBarCount = (HoloCircularProgressBar) findViewById(R.id.holoCircularProgressBar2);
                mHoloCircularProgressBarCount.setMarkerEnabled(false);
                // mHoloCircularProgressBar1.setMarkerProgress(0f);
                mHoloCircularProgressBarCount.setProgressColor(malecolor);

                mHoloCircularProgressBarCount.setProgressBackgroundColor(femalecolor);
                mHoloCircularProgressBarCount.setProgress(0.5f);
    ...
    ...
    ...
animate(mHoloCircularProgressBarCount, null, maleratio / 100, 1000);

0 Answers0