Avoid splash screen activity when pressing Back button

后端 未结 4 1668
悲&欢浪女
悲&欢浪女 2020-12-24 07:55

In my application, I\'ve two activities. First is a splash screen, which simply shows the application name and few other info. Upon clicking on the splash screen activity, I

4条回答
  •  臣服心动
    2020-12-24 08:44

    You can just call

    finish();
    

    In your Splash screen when you jump to the second screen.

提交回复
热议问题