Android keyboard in landscape mode bugged

Monkey Forums/Monkey Bug Reports/Android keyboard in landscape mode bugged

skid(Posted 2014) [#1]
My android 2.3.5 phone has issue with landscape mode keyboard:



Monkey is 78H running mak/keyboardtest


marksibly(Posted 2014) [#2]
Not sure what the problem is - looks OK here.

Can you describe the issue better, and what phone is it?


skid(Posted 2014) [#3]
The problem is top half of screen should have game on it, not big grey box with Execute button.

Here is a screenshot of same app in portrait:



Mak keyboardtest app has same problem on my ideos x5 phone when you tilt to landscape mode.


marksibly(Posted 2014) [#4]
> The problem is top half of screen should have game on it, not big grey box with Execute button.

Ok, thought the execute button might belong to your app...but it's part of the soft keyboard? And in landscape mode only?

Anyone heard of anything like this? Is it for stylus input or hand writing recognition or something?


skid(Posted 2014) [#5]
Just found this, will test tonight:

http://stackoverflow.com/questions/13277177/show-softkeyboard-in-landscape-but-not-entire-screen


therevills(Posted 2014) [#6]
So the issue is with landscape... not portrait? Confusing title...


marksibly(Posted 2014) [#7]
Can reproduce!

Doesn't happen with the standard google keyboard, but it does with the 'go' custom keyboard (and I assume others) I was using for testing a while back.

What keyboard is your android device using? See: settings->language and input->default.

Will investigate...


marksibly(Posted 2014) [#8]
Ok, this works for me - haven't tested thoroughly though:

Add this to android target native/androidgame.java code, line 205 (just before return null in onCreateInputConnection):
			outAttrs.imeOptions=EditorInfo.IME_FLAG_NO_FULLSCREEN;



skid(Posted 2014) [#9]
Thanks mark,

although slight tweak with this one doing the voodoo for me,

outAttrs.imeOptions = EditorInfo.IME_FLAG_NO_EXTRACT_UI;



marksibly(Posted 2014) [#10]
So my fix doesn't work on your device?

Hmm...probably best to use both, eg...

outAttrs.imeOptions=EditorInfo.IME_FLAG_NO_FULLSCREEN|EditorInfo.IME_FLAG_NO_EXTRACT_UI;

...can you try that too?

[edit]works here.[/edit]