We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我在使用这个控件的时候,发现这个控件在不同分辨率下不会自动缩放,都保持一个大小,无法适配机型。
The text was updated successfully, but these errors were encountered:
看了一下代码,在onMeasure()方法中,设置宽高是写死的,导致不会根据不同分辨率去计算大小。setMeasuredDimension((int) mMaskWidth,(int) (mMaskHeight + 2 * mExtendOffsetY));
Sorry, something went wrong.
No branches or pull requests
我在使用这个控件的时候,发现这个控件在不同分辨率下不会自动缩放,都保持一个大小,无法适配机型。
The text was updated successfully, but these errors were encountered: