[M2] M2 opt

This commit is contained in:
wangmingjun
2023-02-14 21:00:13 +08:00
parent 528bd96049
commit 336b6030b6
2 changed files with 2 additions and 1 deletions

View File

@@ -35,7 +35,7 @@ class M2StatusBarView @JvmOverloads constructor(
init { init {
LayoutInflater.from(context).inflate(R.layout.p_m2_view_status_bar, this, true) LayoutInflater.from(context).inflate(R.layout.p_m2_view_status_bar, this, true)
setBackgroundColor(Color.WHITE) setBackgroundColor(Color.TRANSPARENT)
} }
override fun onAttachedToWindow() { override fun onAttachedToWindow() {

View File

@@ -34,6 +34,7 @@
android:textStyle="bold" android:textStyle="bold"
app:layout_constraintLeft_toLeftOf="@+id/img_drive_bg" app:layout_constraintLeft_toLeftOf="@+id/img_drive_bg"
android:layout_marginLeft="@dimen/dp_24" android:layout_marginLeft="@dimen/dp_24"
android:layout_marginTop="@dimen/dp_8"
app:layout_constraintTop_toTopOf="@+id/img_drive_bg" app:layout_constraintTop_toTopOf="@+id/img_drive_bg"
tools:ignore="SpUsage" /> tools:ignore="SpUsage" />