You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I raised this on the Processing forum a while back but didn't get any replies. I've done a lot of reading etc and this may not have a solution from what I have found out ... but hopefully an Android expert here might know something
The issue ... if I open the soft keyboard everything works fine until I have used the Navigation Bar HIDE arrow. The keyboard gets hidden as expected, but the bottom Navigation Bar stays visible ... I can get the keyboard back by recalling openKeyboard(), and using the RETURN key does close everything including the Nav Bar, but why doesn't it disappear when just hiding the keyboard?
Looking at the closeKeyboard() code, I am guessing my tapping on the HIDE button sets keyBoardIsOpen to false, so that the closeKeyboard() function can never execute, or that the parentLayout test isn't being net to setFullScreen again?
public void closeKeyboard() {
if (this.keyboardIsOpen) {
Context context = this.surface.getContext();
InputMethodManager imm = (InputMethodManager)context.getSystemService("input_method");
imm.toggleSoftInput(1, 0);
this.keyboardIsOpen = false;
if (this.parentLayout == -1) {
this.setFullScreenVisibility();
}
}
}
This is on an oldish phone running Marshmallow. May not be an issue on a more modern device. I don't know!
Any thoughts, anyone?
Thanks
Mark
The text was updated successfully, but these errors were encountered:
I'd need to look into it more closely to see what's the problem or if it's still present in newer versions of Android. Tagging for the next bugfix release. Thank you!
Hi
I raised this on the Processing forum a while back but didn't get any replies. I've done a lot of reading etc and this may not have a solution from what I have found out ... but hopefully an Android expert here might know something
The issue ... if I open the soft keyboard everything works fine until I have used the Navigation Bar HIDE arrow. The keyboard gets hidden as expected, but the bottom Navigation Bar stays visible ... I can get the keyboard back by recalling openKeyboard(), and using the RETURN key does close everything including the Nav Bar, but why doesn't it disappear when just hiding the keyboard?
Looking at the closeKeyboard() code, I am guessing my tapping on the HIDE button sets keyBoardIsOpen to false, so that the closeKeyboard() function can never execute, or that the parentLayout test isn't being net to setFullScreen again?
This is on an oldish phone running Marshmallow. May not be an issue on a more modern device. I don't know!
Any thoughts, anyone?
Thanks
Mark
The text was updated successfully, but these errors were encountered: