There are two repetitive actions. I want to show their progress. The number of repetitions of course, time is unchanged.

How to make such a Progress bar ? Those. divided into segments:

красный - `дСйствиС1`, синий - `дСйствиС2`, сСрый - `background` 

enter image description here

UPDATE: An idea to glue together several progress bars in LinearLayout. Add them dynamically through the code as needed. Looks right. How correct is this solution?

    0