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

横竖屏切换时出现的图片拉伸问题。 #198

Closed
xilost opened this issue Jul 19, 2019 · 1 comment
Closed

横竖屏切换时出现的图片拉伸问题。 #198

xilost opened this issue Jul 19, 2019 · 1 comment

Comments

@xilost
Copy link

xilost commented Jul 19, 2019

Environment
Autosize Version: 1.1.2
Target Android Version: Android 7.1.2
Device Model: VIVO Y79
Device Resolution: 1440720
Design Size On AndroidManifest:375
667

Bug Description:
正常显示如下图:
image

旋转屏幕后底部横向列表有些item被拉伸了:
image

再旋转回来也是同样的问题,高度也出现了错位:
device-2019-07-19-152440

代码中使用了下面的方法:
@Override public Resources getResources() { AutoSizeCompat.autoConvertDensity(super.getResources(), 375, currentOrientation == PORTRAIT); return super.getResources(); }

非必现,列表来回滑动后可能会正常。

@JessYanCoding
Copy link
Owner

#59

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