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

部分可隐藏底部虚拟按键的手机,启动共享元素动画会异常 #51

Open
bauer-bao opened this issue Apr 22, 2019 · 2 comments

Comments

@bauer-bao
Copy link

有些手机底部存在虚拟键(隐藏按钮,返回按钮,home按钮,多任务按钮)。在页面主页,先把虚拟键隐藏,然后任意点一个gif进入,发现会黑一下。其实页面已经打开,但是内容是透明的。测试发现,应该只要有共享元素的地方,隐藏虚拟键都会出现这问题。

@bauer-bao
Copy link
Author

已经解决,链接 https://www.jianshu.com/p/378d3def9d14 解决办法 添加android:configChanges="screenLayout"属性

@bauer-bao
Copy link
Author

想了下好像不应该我关,所以重开了。

@bauer-bao bauer-bao reopened this Jun 21, 2019
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