6

In my application, when I click on an EditText view, the virtual keyboard obscures the view, so I can't see my edits. How can I resolve this programatically?

Lyudmil
  • 1,163
  • 2
  • 13
  • 21
Arutha
  • 26,088
  • 26
  • 67
  • 80

2 Answers2

11

I recommend this article that covers the various modes for how the IME and the underlying activity interact from a UI layering perspective. Without knowing more about your application, it is impossible to state whether you want resizing or "pan and scan" modes.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
2

Oh, It happens to me, But I solve it

    <activity
        ...............
        android:windowSoftInputMode="stateVisible|adjustPan">
    </activity>
Tai Tran
  • 1,406
  • 3
  • 15
  • 27