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

字体大小可以当做宽度或者高度吗 #70

Open
kstgithub opened this issue Jul 5, 2018 · 0 comments
Open

字体大小可以当做宽度或者高度吗 #70

kstgithub opened this issue Jul 5, 2018 · 0 comments

Comments

@kstgithub
Copy link

@OverRide
protected int getSuggestedMinimumWidth() {
return (int) mTextSize;
}

@Override
protected int getSuggestedMinimumHeight() {
    return Math.max((int) mTextSize, Math.max((int) mReachedBarHeight, (int) mUnreachedBarHeight));
}

重写的这两个方法中为什么返回mTextSize,textSize和宽高有什么关联吗?

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