Hi,

I wanted to open input method automatically on showing Dialog, in my
Application. I created the dialog from layout xml and i have tried the
following.

1. Added android:windowSoftInputMode="stateAlwaysVisible|adjustResize"
in the dialog's layout XML
2.  tried using InputMethodManager API.

 InputMethodManager
inputMethodManager=(InputMethodManager)this.getSystemService(INPUT_METHOD_SERVICE);
inputMethodManager.showSoftInput(ET.getRootView(),
InputMethodManager.SHOW_FORCED);

Both the approaches is not working. I seen the same behaviour for
preferences dialog well.

Is there any way to handle this?

~ Parthiban

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to