修改玩家评论UI
This commit is contained in:
@ -242,8 +242,8 @@ class RatingCommentItemViewHolder(val binding: RatingCommentItemBinding) : BaseR
|
||||
|
||||
private fun getSpan(context: Context, name: String, commentData: RatingComment): SpannableStringBuilder {
|
||||
val spanned = SpanBuilder(name)
|
||||
.color(context, 0, commentData.replyData?.user?.name!!.length, R.color.text_666666)
|
||||
.size(0, commentData.replyData?.user?.name!!.length, 12)
|
||||
.color(context, 0, commentData.replyData?.user?.name!!.length, R.color.text_333333)
|
||||
.size(0, commentData.replyData?.user?.name!!.length, 13)
|
||||
.build()
|
||||
|
||||
val contentSpan = TextHelper.getHighlightedSpannableStringThatIsWrappedInsideWrapper(context, spanned)
|
||||
|
||||
@ -61,6 +61,7 @@ open class NewCommentFragment : ListFragment<CommentEntity, NewCommentViewModel>
|
||||
@BindView(R.id.scrollView)
|
||||
lateinit var mScrollView: ScrollView
|
||||
|
||||
@Nullable
|
||||
@BindView(R.id.shadowView)
|
||||
lateinit var mShadowView: View
|
||||
|
||||
|
||||
Reference in New Issue
Block a user