Android Create a custom Toast - Android tutorial

Publié le: 15 novembre 2020
sur la chaîne: Davide Agostini
213
8

Android Create a custom Toast - Android tutorial.

Hi and welcome in this new video tutorial where you will learn how to create a custom TOAST without using external libraries.

A TOAST is used to provides simple feedback about an operation in a small popup. It only fills the amount of space required for the message, and the current activity remains visible and interactive. Toasts automatically disappear after a timeout.

I suppose that there are three use cases: normal, success and error message and for those I created three custom resources.

Depending on the use case I will change the background color, the icon and text message.

Link to github source code https://github.com/davideagostini/and...

Subscribe to see more videos    / davideagostini  

Let's be friends:
📸:   / davideagostini  
🐦   / davideagostini  
🖥 https://github.com/davideagostini


---
#android #kotlin #toast #ui


Sur cette page du site, vous pouvez voir la vidéo en ligne Android Create a custom Toast - Android tutorial durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Davide Agostini 15 novembre 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 213 fois et il a aimé 8 téléspectateurs. Bon visionnage!