On Sep 12, 2012, at 7:51 PM, Ravin <rperi...@yahoo.com> wrote: > Does anyone know how to configure an EditText object so that when it is > created it does not show the keyboard until I tap on the text field. Right > now the keyboard shows up right away on creation.
I've used following code snippet in my application; getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_UNCHANGED); setContentView(R.layout.root); In this particular order within onCreate method. This way keyboard stays visible if present during orientation change but is invisible by default. I have to admit I'm not too familiar with soft keyboard and it might be the case this works in my app for other reasons I'm not aware of. -- H -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en