We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
View transitionView = view.findViewById(R.id.ivNews); ActivityOptionsCompat options = ActivityOptionsCompat.makeSceneTransitionAnimation(getActivity(), transitionView, getString(R.string.transition_news_img)); ActivityCompat.startActivity(getActivity(), intent, options.toBundle());
使用上述代码打开一个activity,然后按back按钮返回时出现黑屏,滑动返回时没有黑屏。
The text was updated successfully, but these errors were encountered:
同样的问题,解决了吗
Sorry, something went wrong.
我也遇到这个问题了,然后我修改源码SwipeBackActivityHelper 中的方法onActivityCreate()里面的 mActivity.getWindow().getDecorView().setBackgroundDrawable(null);改为 mActivity.getWindow().getDecorView().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT)); 就解决这个冲突了。
No branches or pull requests
使用上述代码打开一个activity,然后按back按钮返回时出现黑屏,滑动返回时没有黑屏。
The text was updated successfully, but these errors were encountered: