拍照房小时榜飘屏UI修改(again)
This commit is contained in:
@@ -1023,7 +1023,7 @@ class RoomEffectView @JvmOverloads constructor(
|
||||
val textView = rootView.findViewById<TextView>(R.id.tv_content)
|
||||
val text = MessageView.SpannableBuilder(textView)
|
||||
.append("恭喜", ForegroundColorSpan(Color.WHITE))
|
||||
.append("「${msgBean.title}」房间", Color.parseColor("#FFFC4C"))
|
||||
.append("「${msgBean.title}」房间", ForegroundColorSpan(Color.parseColor("#FFFC4C")))
|
||||
.append(msgBean.desc, ForegroundColorSpan(Color.WHITE))
|
||||
.append("TOP1", ForegroundColorSpan(Color.parseColor("#FFFC4C")))
|
||||
textView.text = text.build()
|
||||
|
@@ -14,12 +14,13 @@
|
||||
<TextView
|
||||
android:id="@+id/tv_content"
|
||||
android:layout_width="0dp"
|
||||
android:maxLines="2"
|
||||
android:textSize="12dp"
|
||||
android:textStyle="bold"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="65dp"
|
||||
android:layout_weight="1" />
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:maxLines="2"
|
||||
android:textSize="12dp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_go_room"
|
||||
|
Reference in New Issue
Block a user