补充镜像游戏的镜像下载选项
This commit is contained in:
@ -82,8 +82,8 @@ public class ExpandTextView extends AppCompatTextView {
|
||||
@Override
|
||||
protected void onLayout(boolean changed, int left, int top, int right, int bottom) {
|
||||
super.onLayout(changed, left, top, right, bottom);
|
||||
if ((mShowExpandTextRegardlessOfMaxLines && !mIsExpanded)
|
||||
|| (mInitLayout && !mIsExpanded && getLineCount() > mMaxLines && mMaxLines > 0)) {
|
||||
if (mMaxLines > 0
|
||||
&& (mShowExpandTextRegardlessOfMaxLines && !mIsExpanded) || (mInitLayout && !mIsExpanded && getLineCount() > mMaxLines)) {
|
||||
mSnapshotText = getText();
|
||||
mInitLayout = false;
|
||||
showExpandButton();
|
||||
|
||||
Reference in New Issue
Block a user