I'm trying to use an EditText with a TextWatcher to modify the
EditText at certain states, but for some reason in Froyo (and only
Froyo) when the state changes the EditText won't accept the first
character inputted into it after the state change.

This TextWatcher waits for three characters and then appends " for "
and changes the InputType to TYPE_CLASS_TEXT. If you input three
digits the app works fine. However, if you input say, two digits and
then a space it will append " for " but it won't accept the first
character sent via the software or hardware keyboard after the
InputType is changed.

Here's the source code for the activity: 
https://gist.github.com/e947d65d25371f46c1d2

This has been driving me crazy lately and it only seems to happen in
Froyo.

Here's an APK if you want to try it for yourself:
http://endlesswhileloop.com/files/KeyboardBug.apk

Tony

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to