I have a Toast that shows up while the user is typing in an EditText widget however it hides under the SoftKeyboard and cannot be seen unless the user hits backbutton to remove the keyboard.
Is there a way to make the Toast show anyways?.
I have a Toast that shows up while the user is typing in an EditText widget however it hides under the SoftKeyboard and cannot be seen unless the user hits backbutton to remove the keyboard.
Is there a way to make the Toast show anyways?.
Well overriding that behavior would take some hacking and I think not a preferred solution to take over the placement of the toast. Some phones will toast over the keyboard and others toast above. I hate when they toast over the keyboard as it blocks my typing personally.
However, if you want full control of your toast you can use a custom library like: https://android-arsenal.com/details/1/6209
But I prefer to use Snackbar as it looks nicer, and stays at the bottom for you and can handle a single button if desired.