01-01-2013 04:49 PM - edited 01-01-2013 04:50 PM
In Flash Builder 4.6 while creating a flex mobile application in landscape mode, i have a textinput that is covered by the virtual keyboard when the user taps on it, so that the user is tapping 'blindly'. Is there any way for me to get the application to shift upwards as the keyboard is active so that the user can see the keyboard, and when the keyboard is disabled, the application returns to its initial state?
please refer to diagram below
Also, selecting the type of keyboard in flex (number, email, etc.) does not appear to be working. help?
Solved! Go to Solution.
01-01-2013 06:32 PM
check the following in app.xml:
<!-- Whether or not to pan when a soft keyboard is raised or lowered (either "pan" or "none"). Optional. Defaults "pan." --> <!-- <softKeyboardBehavior></softKeyboardBehavior> -->
On the simulator, I still cannot get the keyboard to automatically pop when the TextInput get focus...
01-02-2013 05:01 AM
<!-- Whether or not to pan when a soft keyboard is raised or lowered (either "pan" or "none"). Optional. Defaults "pan." --> <softKeyboardBehavior>pan</softKeyboardBehavior>
01-02-2013 05:26 PM
I tried softKeyboardBehavior but it returns a problem when trying to launch:
"Error occurred while packaging the application:
application.initialWindow.softKeyboardBehavior is an
Error: AIR validation failed"