toast

Android Custom Toast Tutorial

AndroidPeople.com - 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();

[/sourcecode]

The output will look like

toastmeessage without any button.

Look at the

Syndicate content