[6.7.0] fix ui

This commit is contained in:
EmArrow
2024-09-18 13:53:59 +08:00
parent 9fe24a942b
commit 30203647dc
4 changed files with 8 additions and 6 deletions

View File

@@ -112,7 +112,7 @@ class BoneTabLayout @JvmOverloads constructor(
TabType.MSG_INFO -> {
tabSwitchMsgBox.switchTab(check)
if (check) {
tabSwitchMsgBox.updateNotice(false)
} else {
}

View File

@@ -26,7 +26,6 @@
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="@dimen/dp_960"
android:layout_height="@dimen/dp_216"
android:layout_marginBottom="@dimen/dp_8"
android:background="@drawable/bg_tab_switch"
app:layout_constraintBottom_toBottomOf="parent"
android:layout_marginStart="@dimen/dp_20"

View File

@@ -42,9 +42,12 @@
<View
android:id="@+id/vTabNotice"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_width="@dimen/dp_25"
android:layout_height="@dimen/dp_25"
android:background="@drawable/icon_red_notice"
app:layout_constraintLeft_toLeftOf="parent"
android:visibility="gone"
app:layout_constraintRight_toRightOf="parent"
android:layout_marginTop="@dimen/dp_30"
android:layout_marginStart="@dimen/dp_124"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>