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

ScreenUtil获取的宽高不准确 #48

Open
Fury76 opened this issue Nov 29, 2021 · 0 comments
Open

ScreenUtil获取的宽高不准确 #48

Fury76 opened this issue Nov 29, 2021 · 0 comments

Comments

@Fury76
Copy link

Fury76 commented Nov 29, 2021

我用ScreenUtil获取的宽高不准确,具体代码如下:
image

获取了appBar的高度作为shouMenu的top,但是实际位置不对:
image

ScreenUtil没做其他任何初始化。是我用的有问题吗?还是有什么其他问题呢?求解答下,多谢了

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