3llomi/CircularStatusView

setting portion width programmatically creates rounded square

Closed this issue · 1 comments

This is great library and I found an issue that the setting portion width programmatically creates rounded square like below

Working Code

circularStatusView.setPortionsCount(1);            
//circularStatusView.setPortionWidth(2f);

Output

Screenshot_20201029_174602

Bug Code

circularStatusView.setPortionsCount(1);            
circularStatusView.setPortionWidth(2f);

Output

Screenshot_20201029_174652

Hi, @pavan555

i believe adding some padding would solve this issue? please give it a shot.