X

Sign in

Forgotten your password?

... or login with Facebook:

Don't have an AndroidPIT account yet? Sign up
Android Forum » Android Developer Forum » Android Developer Forum » EditText.SetError() not working properly only in xperia

EditText.SetError() not working properly only in xperia

EditText.SetError() not working properly only in xperia
created on Apr 19, 2011 8:48:31 AM
Hi,
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
problem,
Reply with quote Reply Link ±0     (0 votes)
RE: EditText.SetError() not working properly only in xperia
created on Apr 19, 2011 7:15:17 PM — modified on Apr 19, 2011 7:17:43 PM
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 ...

my.setText("");

-----
lg Voss - Ach ja und noch was, die AndroidPIT-Regeln ლ(╹◡╹ლ) Android Security

Reply with quote Reply Link ±0     (0 votes)
RE: EditText.SetError() not working properly only in xperia
created on Apr 20, 2011 9:21:37 AM
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.
Reply with quote Reply Link ±0     (0 votes)
RE: EditText.SetError() not working properly only in xperia
created on Apr 20, 2011 5:09:35 PM — modified on Apr 20, 2011 5:10:09 PM
Try setting the error text to null when the editText regains focus. editText.setError(null);
Reply with quote Reply Link ±0     (0 votes)