Problem with TextEdit.setError (Bug?)

by Aaron Isotton » Sat, 27 Dec 2008 07:08:14 GMT

Sponsored Links

I'm developing a calculator-like application and I have a strange problem
with error popups. I won't say that it is a bug in android yet, but I think
it could be.

The UI of the application consists of a ListView at the top and an EditText
at the bottom. The ListView is configured to expand to the whole screen
except the space needed by the EditText; the EditText is always at the
bottom (it looks roughly like the thread view in the SMS application).

Now whenever I use setError on the EditText, the popup appears, but the
arrow is oriented wrong (upwards, pointing into nowhere). Screenshot: ~aisotton/error.png

Does anyone have an idea of what could be wrong here? Is there something
obvious I'm missing?

The source is available here: ~aisotton/pcalc.tar.gz

The compiled binary is here: ~aisotton/pcalc.apk

Aaron Isotton - 


Other Threads

1. referring to res-id across packages


  In the example
refers to

In java file, I see code to access new derived attributes using

Can I access "android:background" in Java??
Given that the LabelView resides in a different package, what is the
programmatic way to access android:background in java code?  Is this



2. How to use a WindowAnimation?

This seems like a necessary feature to use in order to transition from
one activity to another in such a way that they animate synchronously
(one slides out while the other slides in, etc).


3. Android Reviews

4. scalable vector graphics scalable vector graphics scalable vector graphics

5. scalable vector graphics scalable vector graphics scalable vector graphics

6. (D)GPS good to 10 cm

7. How to detect item selected in Spinner View as selecting different items