AndroidManifest.xml add ↓
<activity android:windowSoftInputMode="adjustPan"> http://developer.android.com/intl/ja/guide/topics/manifest/activity-element.html sorry, i can't english well.. On 1月27日, 午前7:34, HiQuLABS <[email protected]> wrote: > Any solution to this? > > On Jan 12, 4:23 am, Petroleum Nasby <[email protected]> wrote: > > > I am struggling trying to have the soft keyboard appear in a search screen, > > and from the looks of numerous pleas on various forums, I am not the only > > one. I have tried many variants, culling from the byzantine attempts of > > those others. > > > InputMethodManager imm = (InputMethodManager) getSystemService > > (Context.INPUT_METHOD_SERVICE); > > imm.showSoftInput (query, 0); > > > (for 0, substitute InputMethodManager.SHOW_FORCED or > > InputMethodManager.SHOW_IMPLICIT.) > > > The problem seems to be that showSoftInput doesn't work from onCreate. > > > This is a very common need. Surely there is a reasonable solution to this > > problem, or is it botched here? > > > P. V. Nasby -- 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

