This might be a stupid question but I am new to android terms.
I have seen this many times and I want to use this as a notification method. However, I don't know what this is called.
I searched something like:
"Android notification at bottom of screen" "Android popup at bottom of screen" "Android notification box"
I haven't gotten anywhere. I hope to find out what is this called.
This kind of notification is called Toast. If you want to use Toasts in your application, all you want to do is write a line of code
Toast.makeText(getApplicationContext(), //Context
"This is my message", // Message to display
Toast.LENGTH_SHORT // Duration of the message, another possible value is Toast.LENGTH_LONG
).show(); //Finally Show the toast
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With