Use android:imeOptions to control the button inside of the keyboard:
http://developer.android.com/reference/android/widget/TextView.html#attr_android:imeActionLabel

<http://developer.android.com/reference/android/widget/TextView.html#attr_android:imeActionLabel>The
full label is only displayed when the IME has a large amount of space for it
(such as when the standard keyboard is in fullscreen mode).

On Tue, Sep 8, 2009 at 9:42 AM, Brady <brady.kro...@gmail.com> wrote:

>
> Hi,
>
> I was wondering if anyone has had any success changing the default IME
> action button. I have an EditText field and in the layout XML I've set
>
> android:imeActionLabel="@string/XXXXX"
>
> but don't see any change in the IME. Do I need to also set the
> imeOptions to make this a custom action.
>
> One last question, when I assign the imeActionID, can this simply be
> the ID of the Button in the layout that I want to emulate clicking, or
> do I need to create a constant that maps to some kind of handler in
> the code?
>
> Thanks!
> Brady
> >
>


-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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

Reply via email to