Top "Toast" questions

A toast notification is a transient message to the user that contains relevant, time-sensitive information and provides quick access to related content in an app.

Android: How to set the colour of a Toast's text

I am displaying a toast message as the result of an if statement using the following code: Toast.makeText(getBaseContext(), "…

android android-layout toast
Open PDF in a WebView

I want to open a PDF in my WebView, and I found and combined codes on this forum. But it …

android pdf android-intent toast webviewclient
What is the duration of a Toast LENGTH_LONG and LENGTH_SHORT

I need the exact duration of LENGTH_LONG and LENGTH_SHORT in milliseconds (ms). Also I need to know if …

android time toast duration milliseconds
Toast equivalent for Xamarin Forms

Is there any way using Xamarin Forms (not Android or iOS specific) to have a pop-up, like Android does with …

c# xamarin xamarin.forms toast
difference and when to use getApplication(), getApplicationContext(), getBaseContext() and someClass.this

I'm new to android and I'm trying to understand the difference between getApplication(), getApplicationContext(), getBaseContext(), getContext() and someClass.this and …

android android-intent this toast android-context
How to set Toast display time less than Toast.LENGTH_SHORT

I want to display toast less than Toast.LENGTH_SHORT, as i feel its taking around 2 seconds. i want to …

android toast
Bootstrap 4 snackbar / toast

I'm trying to create a snackbar / toast version with Bootstrap 4. I start with this tutorial from w3schools. Updated: I …

twitter-bootstrap notifications bootstrap-4 toast snackbar
Android - Hide all shown Toast Messages

How do I remove all toast messages currently displayed? In my App, there is a list, when a user clicks …

android hide messages toast
how can I change the color of Toast depends on message type in Angular material $mdToast?

While using $mdToast.simple().content("some test") it is showing the toast with black color. how can I change that …

angularjs material-design toast angular-material
Android Toast equivalent in iOS

Does anyone know what the Java Toast equivalent of this iOS Objective C event would be in a Fragment? Below …

android ios xamarin xamarin.ios toast