Lockscreen is displayed between activities

你。 提交于 2019-12-04 02:09:21

How can I launch the other activity without it briefly showing the lockscreen first?

An easier way of achieving this would be to have a dummy (plain-view) activity running before you launch activity-1. This way, when you do finish activity-1, dummy-activity will take over, followed by activity-2 coming into the foreground.

You will (most likely) also need to tell the system not to provide window animations. Do so by adding this to your application theme:

<item name="android:windowAnimationStyle">@null</item>
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!