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;
}
本文标题:无标题文章
本文链接:https://www.haomeiwen.com/subject/mdsrvxtx.html
网友评论