Skip to main content
Participant
Nov 19, 2013 10:20 PM UTC
Question

How can I prevent the softKeyboard from going full screen in landscape mode on mobile app?

When I put an Input TextField on stage in an ActionScript Mobile project and click on it, the softkeyboard comes up but behaves differently when in portrait or in landscape.  In portrait, the softkeyboard comes up and allows me to edit my field without hiding.  In Landscape, the softkeyboard goes into fullscreen mode and I can no longer see my app in the background.  I would like for Landscape mode to bring up the softkeyboard but not overlay my app with a text area.  Is there a way to configure this?

This topic is closed to new replies. Start a new post to keep the conversation going.

4 replies

Participating Frequently
Nov 12, 2014 10:38 PM UTC

My app runs in landscape and I hated the default Android behavior so I used a heavily customized virtual keyboard instead. It's a bit slow but it works:

https://code.google.com/p/as3-virtual-keyboard/

Translate
Lord_Master
Participating Frequently
Oct 28, 2014 12:13 PM UTC

Hi,

We are also experiencing this issue.

Please go here and vote on it, so Adobe prioritize it and fix it! Feature#3789398 - Simple option to add "flagNoExtractUi" on Android in Landscape mode

Translate
Participating Frequently
Oct 27, 2014 6:06 PM UTC

Hi Luc, sorry, I don't have a solution. I'm also looking for a way to do this. Did you find a way to prevent the softkeyboard going fullscreen in landscape?

I've noticed that sometimes, after I first open my landscape-only Air app, it will use the halfscreen keyboard - although, once it reverts back to the fullscreen keyboard it uses the fullscreen one from then on. I have no idea why this is or how to replicate it, but I thought it was interesting to note that an Air app can display a half screen keyboard in landscape mode - it just seems there is no way to control when!

If anyone can help us with this, please do!

Kind regards.

Translate
Inspiring
Nov 21, 2013 9:14 PM UTC

I assume your refering to your app on Android. This is pretty much the default behavior for Android. Check other landscape apps (ex Pandora) and you'll see the same thing.

What may help you is to lookin into the Prompt of a text input. Here the Starling Feathers example http://wiki.starling-framework.org/feathers/text-input

Not really sure though how/if it can be achieved with normal display list textfields.

Translate