Additional user interface components
In this section, we will cover two additional user interface components that you will need to master to create an Android application. These components are very easy to understand, but we have included them here as you will use them over and over again during your time as an Android developer.
Toasts
First of all, despite the name, Toasts have nothing to do with bread and are in fact a super simple way to pop up text to your users. You have probably seen them 100 times but may not have paid too much attention to them. For example, when you connect to a Wi-Fi network, you might get a Toast popping up to let you know you are connected.
The great thing about Toasts is that they automatically hide after a few seconds and can be a great way to enhance your user experience without much additional effort. As a downside, something we have to be aware, users cannot interact with them.
Note
Although we can customize the look and feel of Toasts, be aware that your users...