rfuguq
Last Updated: February 25, 2016
·
3.386K
· sergigracia

Show Toast Messages

So simple! Add the import for Toast:

import android.widget.Toast;

And where you want show a message:

Toast.makeText(getBaseContext(), "Message saved as draft.", Toast.LENGTH_LONG).show();

And the result is (tadá!):
Picture

More info in Android API Guide