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
在模拟器上运行,有底部导航栏的话,适配的时候会有一条白底,用命令隐藏底部导航栏 adb shell settings put global policy_control immersive.navigation=* 就没有白底了。有人在真机测试中遇到类似的情况吗?
SettingActivity Info: isBaseOnWidth = true, designWidthInDp = 360.000000, targetDensity = 4.000000, targetScaledDensity = 4.000000, targetDensityDpi = 640
The text was updated successfully, but these errors were encountered:
#8 看看这里
Sorry, something went wrong.
OK解决了 现在是用的全局高度适配,总感觉宽度适配比高度更加好一点0.0
对,因为大多数页面宽度是固定,高度因为可以上下滑动,所以不是固定的,但这个方案因为要适配屏幕高宽比和设计图高宽比不一样的适配,所以只能让高和宽中的一个正好填充屏幕,所以大多数情况用,以宽为基准就行了
No branches or pull requests
Environment
Bug Description:
在模拟器上运行,有底部导航栏的话,适配的时候会有一条白底,用命令隐藏底部导航栏 adb shell settings put global policy_control immersive.navigation=* 就没有白底了。有人在真机测试中遇到类似的情况吗?
Log:
Screenshot
Related Code:
Others:
The text was updated successfully, but these errors were encountered: