Android Custom Toast Example
You are able to create custom toast in android. So, you can display some images like congratulations or loss on the toast. It means you are able to customize the toast now.
Drag the component that you want to display on the main activity.
Create another xml file inside the layout directory. Here we are having ImageView and TextView in this xml file.
Now write the code to display the custom toast.
JavaTpoint offers too many high quality services. Mail us on h[email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected].
Duration: 1 week to 2 week