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,153
  • 2
  • 13
  • 21
Arutha
  • 25,280
  • 26
  • 65
  • 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
  • 954,112
  • 185
  • 2,315
  • 2,367
2

Oh, It happens to me, But I solve it

    <activity
        ...............
        android:windowSoftInputMode="stateVisible|adjustPan">
    </activity>
Tai Tran
  • 1,396
  • 3
  • 14
  • 25