How to make EditText in landscape mode not expand to full screen?
- Put the width is not the whole screen? .. - Yuriy SPb ♦
- The first link in Google for "EditText no fullscreen": stackoverflow.com/a/4726646/2893248 - xkor
|
1 answer
Either add EditText android:imeOptions="flagNoExtractUi" markup to xml android:imeOptions="flagNoExtractUi" , or in the editText.setImeOptions(EditorInfo.IME_FLAG_NO_EXTRACT_UI) code editText.setImeOptions(EditorInfo.IME_FLAG_NO_EXTRACT_UI)
- I tried. Doesn't work - Igor
- Understood. android: imeOptions = "flagNoExtractUi" - I shoved in AndroidManifest, which is why it did not work. - Igor
|