Behavior LandScape Edit Text mode

yantarplus

Member
Licensed User
Longtime User
Hello. :sign0085:

I developed further an application in Android 4.2 (SDK 17).

I have found that when activating a Edit Text in landscape mode, the object fills the screen with the keyboard. This is very uncomfortable to work if there are several elements of this type because you do not know where these positioned.

In previous versions of Android, does not occur.

After searching solutions online, I found two ways
to solve the issue:

Adding in an XML is as follows:

android: imeOptions = "flagNoExtractUi"

and the other is when you declare the characteristics of the edit text:

textView.setImeOptions (EditorInfo.IME_FLAG_NO_EXTRACT_UI);

The former is not going down (can not find the file) and the second, gives error EditorInfo)

The question is:

as I can add this code to the draft Basic4android???

Thank you.
 
Top