May 6, 2010

[SOLVED] Android: hide/disable soft keyboard for activity


Just put stateAlwaysHidden attribute in your Manifest



 <activity name="EditContactActivity"
android:windowSoftInputMode="stateAlwaysHidden">
...
</activity>



Source: The AndroidManifest.xml File </activity>

3 comments:

  1. i've tryed your solution, but not run for me... I'm using andorid 2.1 version.
    Thx

    ReplyDelete
  2. use this ,
    editText.setInputType(InputType.TYPE_NULL);

    apply this for each editext..
    ur problem will be solved..

    ReplyDelete
  3. i want how to disable softkeyboard in entire device nt in a particular application.By application i want hide keyboard.i tried bt didnt get.help me plz.

    ReplyDelete