Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible bug with app:apsv_model_offset="10dp" #18

Open
Mutalistik opened this issue Aug 3, 2017 · 0 comments
Open

Possible bug with app:apsv_model_offset="10dp" #18

Mutalistik opened this issue Aug 3, 2017 · 0 comments

Comments

@Mutalistik
Copy link

Mutalistik commented Aug 3, 2017

When set app:apsv_model_offset="10dp" the circles get cut by the edges of the view, the solution is in the line 827 of the ArcProgressStackView.java

Change
final float modelOffset = (mProgressModelSize * i) +
(paintOffset + shadowOffset) - (mProgressModelOffset * i);

With
final float modelOffset = (mProgressModelSize * i) +
(paintOffset + shadowOffset) + (mProgressModelOffset * i);

if you put + (mProgressModelOffset * i); works perfectly

Hope this help
Best Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant