Alert Dialog Box in Android
HELLO friends now we create a Alert Dialog Box in Android.
- Alert Dialog Box is like a Popup window that confirm the user can do it or not.
- The code is placed in MainActivity.java file and create a onBackPressed() fun. and put into it.
- In this finish() function is used to close that Activity in which you apply that function.
- Now you are able to create Your Own Alert Dialog Box in Android App.
Comments
Post a Comment