Show Toast on button click Android Studio
In this tutorial we will learn how to use Toast in android. We will create a button when this button is clicked the toast will be displayed. Follow the following steps to display the toast.. Step 1: Create a new project OR Open your project Step 2: Code to display toast: For Short Time(2 seconds): For Long Time(3.5seconds): […]
Show Toast on button click Android Studio Read More »