If you add the line
android:singleLine="True" to you XML declaration.

If you do that, the soft keyboard will show a Done button.

If you don't want to do that, you can exit the keyboard using the
backbutton key.

Hope this helps,
Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together

The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.

On Aug 13, 5:07 am, Neilz <neilhorn...@googlemail.com> wrote:
> Hi all.
>
> I have an EditText widget which is described as follows:
>
> <EditText
>                 android:id="@+id/xcord"
>                 android:numeric="decimal"
>                 android:layout_width="fill_parent"
>                 android:layout_height="wrap_content"
>                 />
>
> When my EditText receives focus, the keypad helper pops up (in my
> emulator). Then when a button is clicked, I do stuff with the value
> (in this case, I just display the value in a Toast). However the
> keypad helper remains there and doesn't disappear, obscuring the main
> part of the screen. How do I make the helper go away once I know the
> user has finished typing?
>
> Many thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to