-
Notifications
You must be signed in to change notification settings - Fork 2.1k
startActivity with options 滑动返回会黑屏 #695
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
Comments
相关代码贴一下 |
就是demo, 滑动退出那个Activity Bundle options = ActivityOptionsCompat.makeSceneTransitionAnimation(MainActivity.this,
findViewById(R.id.fl_container), "transition_top_bar").toBundle();
startActivity(new Intent(MainActivity.this, SwipeBackSampleActivity.class), options); |
好像是Options配置问题,对Options不是很熟,可以查下 |
加了转场动画就会返回黑屏,转场动画依旧能正常,就是背景成黑屏了,这是返回库的问题大兄弟,SwipeBackLayout的背景成黑色了?我还没找到方法 |
@weiyf @YoKeyword 我刚看了源码,找到了解决方法: |
@weiyf @ruanbaojun1105 研究了一下 点返回键会黑屏,如 @ruanbaojun1105 所说,需要把 |
已修复 v1.2.7 |
startActivity with options 滑动返回会黑屏
The text was updated successfully, but these errors were encountered: