action listener?
On May 30, 4:21 am, Eric Carman <ewcarma...@gmail.com> wrote:
> I have run into this as well. The edit text will accept entry without
> issue, then it just stops displaying the text entered, but it is there
> because the getText will find it.
>
> <EditText
> android:id="@+id/inputText"
> android:layout_width="fill_parent"
> android:layout_height="wrap_content"
> android:layout_weight="1"
> android:inputType="textMultiLine"
> />
>
> Like you, I originally had the <requestFocus /> property set, but had
> to get rid of it as it seemed to be causing other issues. This error
> occurs both with and without that attribute.
>
> Like your code above, I get the text and set it to an empty string
> when finished. I use an EditText.OnKeyListener and perform my work on
> KeyEvent.KEYCODE_ENTER and KeyEvent.KEYCODE_DPAD_CENTER, however.
>
> I haven't seen this behavior on an emulator, but I have seen it on an
> LG device. Web searches seem to indicate that it might occur on
> Samsung devices as well and some of my customers have reported it in
> market comments (so I don't know what devices they are using) so I
> don't think it is a device specific bug.... But who knows.
>
> Hopefully someone has some insight.
>
> Best Regards,
> Eric
--
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