In this post, I am going to discuss about how to position toast message in Android applications.
What is Toast?
A toast provides simple feedback about an operation as a simple popup message. It is usually be displayed at the bottom of the Application.
What are we going to develop?
The application which we are going to develop will help you to create toast messages in different positions by altering Gravity and also by taking custom X-offset and Y-offset values.
In this post, we will discuss about how to create a custom toast message in Android application. We usually see toast as a simple text message which pops up on the screen.
But we can create custom toast with images and more style attributes like padding, gravity, etc.You can create custom toast message shown below at the end of the post: