Open antonis opened 2 years ago
I did a short research and I don't think there is a clear way to resolve this. This article sums up the options to move forward with an Android Toast.
An alternative would be to use a SnackBar
and it will also achieve a more consistent UI across the app using the SnackbarSequencer
Thanks for reporting! 👍
Expected behavior
Toasts across the app are centered unless this is defined explicitly.
Actual behavior
Since Android 11 the Toast gravity setter has no effect and the Toasts are positioned at the bottom of the screen. In some cases this may result in actionable buttons being inaccessible for the short time when the Toast is visible.
Internal ref
p5T066-33e-p2#comment-11570
Tested on Pixel 5, Android 12, WPAndroid 19.4