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

适配小米8及屏幕翻转 #17

Closed
5 tasks done
mynamew opened this issue Aug 23, 2018 · 2 comments
Closed
5 tasks done

适配小米8及屏幕翻转 #17

mynamew opened this issue Aug 23, 2018 · 2 comments

Comments

@mynamew
Copy link

mynamew commented Aug 23, 2018

Environment

  • Autosize Version: v0.7.0
  • Target Android Version:Android 8.0
  • Device Model: 小米8
  • Device Resolution: 2248x1080像素
  • Design Size On AndroidManifest: 365 655

Bug Description:

1、适配是下方有一小块空白
2、当屏幕翻转的时候,适配就不成功了

Log:

Screenshot

autosize1
screenshot_2018-08-23-09-37-13-207_com jzk common

Related Code:

Others:

@JessYanCoding
Copy link
Owner

JessYanCoding commented Aug 23, 2018

第一个问题看这里 #8

第二个问题,有框架的一部分原因没有及时更新屏幕的尺寸,但是你自己也需要根据横屏提供适配的布局,比如这个页面一旦旋转,宽度变为了 2248px,还是以宽为基准,那我框架适配后只能让布局的宽度完全覆盖屏幕宽度,但是高度肯定会超出屏幕的,因为只能以宽或高中的一个为基准原因,请看上面的链接

@JessYanCoding
Copy link
Owner

cd0a84c 已修复,下个版本,发布

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

2 participants