Possible to do rounded corners in custom Progressbar progressDrawable?

前端 未结 2 1641
孤独总比滥情好
孤独总比滥情好 2021-01-03 03:12

I have a progress bar that is supposed to look like the attached image:\"enter

And I\'

2条回答
  •  醉酒成梦
    2021-01-03 03:43

    Not sure if you can actually round out the edges through API, but you could very easily add a new layer between your white outline, and your actual progress object? The layer could be an exact cutout of the white outline, and thus the progress bar would not show outside the outline.

提交回复
热议问题