Table of Contents

About

A toast provides simple feedback about an operation in a small popup.

Example

Context context = getApplicationContext();
CharSequence text = "Hello toast!";
int duration = Toast.LENGTH_SHORT;

Toast toast = Toast.makeText(context, text, duration);
toast.show();

Documentation / Reference