Tuesday, September 6, 2011

[android-developers] Re: hide softkeyboard, show softkeyboard or detect if softkeyboard is open or...

the edittext is focused when the alert dialog is displayed.

On Sep 6, 9:50 pm, Rafael Maas <rafaelm...@gmail.com> wrote:
> try to force focus on your edittext component
>
> 2011/9/6 sblantipodi <perini.dav...@dpsoftware.org>:
>
>
>
>
>
>
>
> > as title.
>
> > I have an alertDialog with a EditText on it.
>
> > When i show() the alertDialog android 2.3 don't show any softkeyb,
> > android 3.0 show the softkeyboard.
>
> > How can I show the softkeyboard on both platforms?
> > Every code to show softkeyboard tryed don't work, the only one that
> > work is the toggleSoftKeyboard() that doesn't work ok on android 3
> > since on this platform it close the keyboard.
>
> > What is the fastest way to prompt a user for an input and open the
> > softkeyboard to let the user input in?
>
> > --
> > 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

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