How to Add Exit Button in android Studio with Source Code just Copy and paste the code

How to Add Exit Button in android Studio with Source Code just Copy and paste the code





Just in two Minutes You Can Add this Exit App Button in android studio.This is very Important When we create Our App.When User Have to exit our app then this type of message will be shown and then user have to chose Yes Or No.

Add the Following Java Code in your App Main Activity




So By Using this Code You can Easily add Exit Button in android

 Studio Project.


Post a Comment

0 Comments