4 ms·
> Note that Snackbars are preferred for brief messages while the app is in the foreground. https://developer.android.com/reference/android/widget/Toast https:/
by david_allison 2y ago
> Note that Snackbars are preferred for brief messages while the app is in the foreground.
https://developer.android.com/reference/android/widget/Toast https://developer.android.com/reference/android/widget/Toast
- is_true 2y agoThat's the Android widget, not material design which is used for YouTube's UI
- david_allison 2y agoI fear we're talking past each other. Material Design doesn't have a Toast. Material Design Snackbars aren't toasts: * Snackbars are local, toasts are global * Toasts don't receive focus, snackbars can (via the optional action) * Toasts auto-dismiss. This is optional for snackbars * Snackbars can explicitly be dismissed early by a user