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

返回的时候上个页面不显示,是黑色的 #13

Open
kanglanlan opened this issue May 9, 2017 · 5 comments
Open

返回的时候上个页面不显示,是黑色的 #13

kanglanlan opened this issue May 9, 2017 · 5 comments

Comments

@kanglanlan
Copy link

返回的时候上个页面不显示,是黑色的。

@YoKeyword
Copy link
Owner

如果是上个Activity黑色的话,应该是没有给Activity添加:

<item name="android:windowIsTranslucent">true</item>

@kanglanlan
Copy link
Author

添加了。
true

我就是创建了几个activity然后继承了SwipeBackActivity。配置文件了加了android:windowIsTranslucent。
其他的就没有了。上个页面是黑的

@YoKeyword
Copy link
Owner

上个页面黑的,说明当前的Activity背景色是黑色不是透明的, 你再看下~

@EverZc
Copy link

EverZc commented Nov 28, 2017

不知道这个黑色界面的问题解决了没有~ 我也碰到了这个问题

@EverZc
Copy link

EverZc commented Nov 28, 2017

问题解决了
true 虽然设置了这个还是会出现黑色背景的问题
根本原因还是theme中配置的问题 可以参考Demo中的设置方法

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

3 participants