Removing an activity from the history stack

后端 未结 15 971
[愿得一人]
[愿得一人] 2020-11-22 08:28

My app shows a signup activity the first time the user runs the app, looks like:

  1. ActivitySplashScreen (welcome to game, sign up for an account?)
  2. Activ
15条回答
  •  花落未央
    2020-11-22 09:08

    You can achieve this by setting the android:noHistory attribute to "true" in the relevant entries in your AndroidManifest.xml file. For example:

    
    

提交回复
热议问题