I have an app which loads a listview when opened, however I am getting an Array Index Out Of Bounds Exception, with no clues as to where the problem lies. It is trying to ac
This is caused by setting android:ellipsize="middle"
(or start
) on a TextView
that does not have android:singleLine="true"
on.
For example, the following crashes on this error:
But the following does not:
Reference: https://code.google.com/p/android/issues/detail?id=33868
Note: singleLine
is a deprecated attribute but still works on Jelly Bean.