private boolean isEllipsized(TextView tv) {
boolean flag = false;
Layout l = tv.getLayout();
if (l != null) {
int lines = l.getLineCount();
if (lines > 0 && l.getEllipsisCount(lines - 1) > 0) {
flag = true;
}
}
return flag;
}
private boolean isEllipsized(TextView tv) {
boolean flag = false;
Layout l = tv.getLayout();
if (l != null) {
int lines = l.getLineCount();
if (lines > 0 && l.getEllipsisCount(lines - 1) > 0) {
flag = true;
}
}
return flag;
}