Android has a simple way of displaying a piece of message in form of a Toast, i.e., a message displayed to user regarding the status of work sometimes values depending upon requirement.

if you want to get full tutorial on simple toast visit Simple Tutorial On Toast

In this tutorial i will show you a custom toast by which we can display a toast on different positions on screen.



MainActivity :

Adding 5 buttons to display toast on 5 different sides



Now we will be creating a custom toast layout



Output :

custom toast

If you have any query’s comment below in comment section.

Like and share if you like this tutorial.

Show Buttons
Hide Buttons
Read previous post:
Android Tutorial on Shared Preferences