admin api host -> 3.6.1
1月25补充优化
This commit is contained in:
@ -10,6 +10,8 @@ import android.text.style.ClickableSpan;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.View;
|
||||
|
||||
import com.gh.gamecenter.R;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@ -76,7 +78,8 @@ public class MessageSpannableTextView extends android.support.v7.widget.AppCompa
|
||||
@Override
|
||||
public void updateDrawState(TextPaint ds) {
|
||||
super.updateDrawState(ds);
|
||||
ds.setColor(Color.YELLOW);
|
||||
ds.bgColor = getContext().getResources().getColor(R.color.tag_orange);
|
||||
ds.setColor(Color.WHITE);
|
||||
ds.setUnderlineText(false);
|
||||
}
|
||||
|
||||
|
||||
@ -411,7 +411,7 @@ public class MessageDetailAdapter extends BaseRecyclerAdapter<ViewHolder> {
|
||||
holder.commentUserNameTv.setOnClickListener(v -> PersonalHomeActivity.startTargetActivity(mContext, finalCommentEntity.getUser().getId(), mEntrance, "文章-评论详情"));
|
||||
holder.commentUserIconDv.setOnClickListener(v -> PersonalHomeActivity.startTargetActivity(mContext, finalCommentEntity.getUser().getId(), mEntrance, "文章-评论详情"));
|
||||
|
||||
if (commentEntity.getPriority() != 0 && !isHotComment) {
|
||||
if (commentEntity.getPriority() != 0) {
|
||||
holder.commentBadge.setVisibility(View.VISIBLE);
|
||||
} else {
|
||||
holder.commentBadge.setVisibility(View.GONE);
|
||||
|
||||
@ -100,7 +100,7 @@ public class KeFuFragmentAdapter extends ListAdapter<MessageKeFuEntity> {
|
||||
|
||||
viewHolder.content.setOnSpannableClickListener(spannableText -> {
|
||||
Util_System_ClipboardManager.setText(mContext, spannableText);
|
||||
Utils.toast(mContext, spannableText);
|
||||
Utils.toast(mContext, "已复制:" + spannableText);
|
||||
});
|
||||
|
||||
viewHolder.setClickData(keFuEntity);
|
||||
|
||||
Reference in New Issue
Block a user