4

I am having EditText in my LinearLayout. When i am typing text in portrait mode keyboard displays fine but when i changed to landscape mode , only i can editext box and a button on right side of it, that looking really bad.

Just i want to look the keyboard same in both modes.

How i achieve that??

Problem is: Keyboard is filling the entire screen am not able to see other views in the screen in landscape when i want to type text..

Thanks

Paresh Mayani
  • 127,700
  • 71
  • 241
  • 295
Uday
  • 5,933
  • 9
  • 44
  • 76
  • Not really sure what your problem is with the appearance in the second case? The shape of the soft keyboard? The position of the soft keyboard? Consider looking at several questions on stack overflow addressing the hiding and properties of the soft keyboard. – Elemental Jul 20 '11 at 09:29
  • Keyboard is filling the entire screen am not able to see other views in the screen in landscape when i want to type text.. – Uday Jul 20 '11 at 09:32

1 Answers1

10

In layout at landscape, you can set android:imeOptions="actionDone|flagNoExtractUi" for edittext

duonghv
  • 346
  • 2
  • 4