Hi,

I noticed that the imeOptions attribute on TextViews behaves
inconsistently across different devices. For instance, setting
imeOptions to "normal" has the following effects:

1) On the emulator and G1s running 1.5:
The OSK will have a "Done" key and clicking it will simply close the
OSK with no further action taken (this is exactly what I need)

2) On my HTC Magic (G2), also running 1.5 (of course):
The OSK will have an enter key (showing the enter symbol instead of
"Done") and when clicking it, the OSK will close and bring up the
context menu of the text view... I mean, seriously. That is the last
thing any user or developer would expect it to do.

There seems to be no way to simply close the OSK after entering some
text on the G2, *except* when specifying flagNoEnterAction in
imeOptions, which on the G2 does what "normal" does on the G1, but on
the G1, this will lead to the OSK to not respond at all to the enter
key (user has to hit "back" to close the OSK).

This is a complete mess, is there any way to have the OSK behave in a
sane manner without resorting to hacks (like checking for device
models and setting imeOptions programmatically)? Didn't Google say
they cared about backwards compatibility before releasing Cupcake? I
have nothing but trouble getting my app to look and behave identical
on different Android models.
--~--~---------~--~----~------------~-------~--~----~
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