Hidden keyboard:
Shown keyboard : e
There is no keyboard visible property available.
You can working around this using the Hide Keyboard block found in Screen1 and Textbox1, and if you install Taifun's Tools Extension, there is a Show Keyboard block
I need this too. When user clicks Androids 'back' button the keyboard disappears and then I want to change height of the screen (or textbox).
This is the case. I have a multiline textbox at the bottom of my screen. When the textbox gets focus it is hidden behind the keyboard, so I change the height of the textbox when textbox 'gotfocus' so it stays visible. Then when the keyboard is closed by the user (by the back button) I want to set the height of the textbox to it's original height so that there is no scrollbar in the screen.
This is a looong shot but did you ever figure out a solution?
Have you tried inspecting and manipulating the Focus attribute of the text boxes?
This is something you might do with tab (\t) character detection in the text changed event of each textbox.
Initial state of the screen.
Textbox/password field focused and trigger the needed blocks to shrink the spacing above the logo.
Keyboard dismissed. Blocks not triggered.
To recap my issue, I have a textbox and a password field that I need to move up when focused so that they aren't hidden by the onscreen keyboard when it appears. The problem is that when the onscreen keyboard is closed by either pressing "done", swiping back, or pressing the dismiss keyboard button (highlighted on the bottom left), the textbox/password field seem to remain in focus and therefore my blocks don't trigger
"This is something you might do with tab (\t) character detection in the text changed event of each textbox"
So from what I'm understanding, this would mean that the enter/done button from the onscreen keyboard is actually a "tab (\t) character"? This would work for the enter/done button but that still leaves me with the problem of swiping back from the keyboard or pressing dismiss.
The enter key is \n, which would stick only if the textbox is multiline.
If you want a tab, look for a key that looks like ->|
Here's a sample app I whipped up, using \n as a signal to hop to the next multiline textbox component in my list of textboxes, with height adjustments as focus is handed off to the next textbox.
Unfortunately, the emulator I used for the screen recording was relying on my PC keyboard, so you will have to test screen keyboard visibility on your phone.
I added a 1px by 1px stopper textbox at the end of the list to catch focus when the list has been exhausted.