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
缩放设置的宽高参数写反了
如果view部分位于屏幕外,getGlobalVisibleRect 获取的尺寸不是理想值,可以改为:
int out[] = new int[2]; view.getLocationOnScreen(out); return new Rect(out[0], out[1], out[0] + view.getWidth(), out[1] + view.getHeight());
The text was updated successfully, but these errors were encountered:
进行了相应的修改,更正。多谢反馈
Sorry, something went wrong.
No branches or pull requests
缩放设置的宽高参数写反了
如果view部分位于屏幕外,getGlobalVisibleRect 获取的尺寸不是理想值,可以改为:
The text was updated successfully, but these errors were encountered: