user1319976
user1319976

Reputation: 21

android Window Soft Input Mode

In my app, I need to use EditText. But i have a problem with it. On some firmwares (Ice cream sandwich for example) when user click on edittext, keyboard pushes whole screen up! I want to turn it off.

I tried to add android:windowSoftInputMode="adjustResize". Nothing changed.

Help me please.

Upvotes: 0

Views: 16064

Answers (2)

Manoj Kumar
Manoj Kumar

Reputation: 177

Add this in your AndroidManifest.xml

android:windowSoftInputMode="stateHidden"

Perfectly works for me. You try this one.

Upvotes: 1

Parag Chauhan
Parag Chauhan

Reputation: 35966

try

 android:windowSoftInputMode="adjustPan"

That perfect work for you.

Upvotes: 2

Related Questions