公屏昵称点击事件bugfix
This commit is contained in:
@@ -922,6 +922,8 @@ public class MessageView extends FrameLayout {
|
||||
break;
|
||||
}
|
||||
tvContent.setText(text.build());
|
||||
tvContent.setOnClickListener(null);
|
||||
tvContent.setMovementMethod(new LinkMovementMethod());
|
||||
} else {
|
||||
tvContent.setTextColor(Color.WHITE);
|
||||
tvContent.setText(tvContent.getResources().getText(R.string.not_support_message_tip));
|
||||
@@ -1013,6 +1015,8 @@ public class MessageView extends FrameLayout {
|
||||
break;
|
||||
}
|
||||
tvContent.setText(text.build());
|
||||
tvContent.setOnClickListener(null);
|
||||
tvContent.setMovementMethod(new LinkMovementMethod());
|
||||
} else {
|
||||
tvContent.setTextColor(Color.WHITE);
|
||||
tvContent.setText(tvContent.getResources().getText(R.string.not_support_message_tip));
|
||||
@@ -1067,6 +1071,7 @@ public class MessageView extends FrameLayout {
|
||||
});
|
||||
|
||||
tvContent.setText(append.build());
|
||||
tvContent.setOnClickListener(null);
|
||||
tvContent.setMovementMethod(new LinkMovementMethod());
|
||||
}
|
||||
|
||||
@@ -1109,6 +1114,8 @@ public class MessageView extends FrameLayout {
|
||||
.append("的礼物", new ForegroundColorSpan(textColor));
|
||||
tvContent.setText(text.build());
|
||||
}
|
||||
tvContent.setOnClickListener(null);
|
||||
tvContent.setMovementMethod(new LinkMovementMethod());
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1237,8 +1244,6 @@ public class MessageView extends FrameLayout {
|
||||
msg.delete(msg.length() - 1, msg.length());
|
||||
tvContent.setText(msg);
|
||||
tvContent.setOnClickListener(null);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user