Monday, November 15, 2010

[android-developers] Re: Getting Keyboard To Appear With Ought Having To Click on EditText

Hey u can do what @TreKing commented
or
Write this in u'r Android Manifest file

android:windowSoftInputMode="stateVisible" or
android:windowSoftInputMode="stateAlwaysVisible"

Hope this helps u

On Nov 15, 7:44 am, Prasanna Perera <prasanna.per...@gmail.com> wrote:
> Hello,
>
> I am using a custom layout on an AlertDialog.  The custom layout has
> an EditText filed which I am using to get a phone.  When I display the
> AlertDialog, in order to get the keyboard to type in the phone number
> you have to click on the EditText filed.  Is there a way to get the
> keyboard to automatically pop up when I bring up the AlertDialog so
> that the user does not have to click on the EditText filed to get the
> Keyboard.
>
> Thanks,
> Prasanna

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate