Create the Simple popup Message Using Toast

 In Android Toast Display Simple Feedback About An Operation In A Small Popup.In Android, It is a Notification Message That Pop Up, Display A Certain Amount Of Time, And Automatically Fades In And Out, Most People Just Use it For Debugging Purpose.

 

 

 

 

Code to create a message :

Step 1: Create a new project and name it What You Want To Give.

  • Select File -> New -> New Project. Fill the forms and click “Finish” button.

Step 2: Open app -> java -> package and open MainActivity.java and add the following code. Here we will do coding To Display Message in toast.

Output:

Now Run The App In Emulator. You Will See The Toast When The Application Is Launched.

Toast

Leave a Reply

Your email address will not be published. Required fields are marked *