EditText.SetError() not working properly only in xperia

  • Replies:3
  • OpenNot stickiedUnanswered
  • Forum posts: 2

Apr 19, 2011 8:48:31 AM via Website

We have an application in which we are using Edittext.Seterror()
to notify the user if he enter any invalid data in the edittext.we
have check it in other devices but when we tried it in sony ericsson
xperia its poping up but when we put the cursor back to the editext it
is not disappearing.so need assitance on this did anyone face the same
Deactivated Account
  • Forum posts: 5,215

Apr 19, 2011 7:15:17 PM via Website

I moved the thread to the Developer section ..

most likley you'll have a bigger support in here.

Regarding your question, no i haven't had troubles like this in the past.

Why not simply setting the editText field to an empty String after occurence of input error....

Just like this ...


— modified on Apr 19, 2011 7:17:43 PM

lg Voss

  • Forum posts: 2

Apr 20, 2011 9:21:37 AM via Website

Hi Voss,
i don't want to set my.settext(""), my problem is something like when i enter wrong password it popups a baloon windows which notofies the user ,that baloon windows is not hiding back once i go back to the edittext.
  • Forum posts: 775

Apr 20, 2011 5:09:35 PM via Website

Try setting the error text to null when the editText regains focus. editText.setError(null);

— modified on Apr 20, 2011 5:10:09 PM