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

Solve the innerText adaptation problem of different Android systems / DonutProgress #149

Open
HAPENLY opened this issue Sep 6, 2021 · 0 comments

Comments

@HAPENLY
Copy link

HAPENLY commented Sep 6, 2021

Please add this below code on DonutProgress.java under onDraw method
after 500 line

  if(innerBottomTextHeight == 0) { 
                innerBottomTextHeight  = getHeight() - (getHeight() * 3) / 4;
            }

The value of innerbottomtextheight in different systems is 0, which leads to problems

This is a common problem of this library. If you encounter similar problems in arcprogress and circleprogress, you can refer to it

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