I have a multi-line TextView that has android:ellipsize=\"end\" set. I would like to know, however, if the string I place in there is actually too
TextView
android:ellipsize=\"end\"
This worked to me:
textView.post(new Runnable() { @Override public void run() { if (textView.getLineCount() > 1) { //do something } } });