Android Custom Toast Tutorial - Going to see how to display a textview in toast using setView() & some more properties of Toast - Custom Toast Notification.

Android Toast Example

Android allows us to display a message without any button like 'OK' or 'Cancel'.

Its helps us to display a short message in short time.

Toast Example :

[sourcecode language="java"]

Toast.makeText(Classname.this, "Your Toast Text", Toast.LENGTH_SHORT).show();


The output will look like

toastmeessage without any button.

Look at the

Syndicate content