This commit is contained in:
juntao
2020-04-26 16:07:05 +08:00
parent 18923efe23
commit e54b124252
7 changed files with 129 additions and 121 deletions

View File

@ -24,7 +24,7 @@ public class ExpandTextView extends AppCompatTextView {
private CharSequence mSnapshotText;
private String mExpendText = "...全文";
private int expandTextBackgroundColor = Color.WHITE;
private int expandTextBackgroundColor = Color.TRANSPARENT;
private int mMaxLines = 3; // 由于sdk版本限制(getMaxLines) 这里设置默认值