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

ShareView SwipeActivity #694

Closed
bobby-walle opened this issue Dec 23, 2017 · 3 comments
Closed

ShareView SwipeActivity #694

bobby-walle opened this issue Dec 23, 2017 · 3 comments

Comments

@bobby-walle
Copy link

通过ShareView进行界面切换动画,进入继承了SwipeActivity时正常,但是Back退出时会有黑色背景,拖动返回正常。更改继承SupportActivity后Back退出正常。
是在SwipeActivity里面设置黑色背景了么?
谢谢~

@YoKeyword
Copy link
Owner

SwipeActivity取当前Activity window的背景色

相关代码贴一下

@BeetleSxy
Copy link

你好,我也遇到相同的问题了,有关Activity window的背景色的代码有
getWindow().setBackgroundDrawable(null);//去掉最底层背景绘制,减少cpu过度绘制
<item name="android:windowBackground">@color/global_back_color</item>
在无其他的

@YoKeyword
Copy link
Owner

#695

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