Android remove Activity from back stack

后端 未结 11 2077
予麋鹿
予麋鹿 2020-12-07 17:23

Okay so I\'m kind of stumped on what to do with this. So I have the MainActivity, and from there an Activity can be launched to DegreePlanActivity, and from there another Ac

11条回答
  •  半阙折子戏
    2020-12-07 17:50

    To remove activity from back stack inside manifest add android:noHistory="true" to your activity inside the manifest file.

    See sample below.

    
     
         //add this line to your activity inside manifest
         
            
            
          
       
     
    
    

提交回复
热议问题