Thursday, September 1, 2011

[android-developers] Re: Alert input must show the keyboard.

thanks for the answer, this:

input.setSelected(false);
alertI.show();
input.setSelected(false);

doesn't remove the focus from the edittext.
how to remove it?

On Sep 1, 11:27 pm, TreKing <treking...@gmail.com> wrote:
> On Thu, Sep 1, 2011 at 3:43 PM, sblantipodi <perini.dav...@dpsoftware.org>wrote:
>
> > The EditText inside the dialog itself is automatically focused when I call
> > AlertDialog.show(), but the soft keyboard is not automatically shown.
>
> Then try removing focus from it first, then requesting it back.
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

--
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

No comments:

Post a Comment