1、修复乘客屏幕的状态栏高度,防止被遮盖
This commit is contained in:
donghongyu-pc
2024-11-14 19:49:21 +08:00
parent 341303fe8c
commit a8259b7510
2 changed files with 1 additions and 4 deletions

View File

@@ -53,7 +53,7 @@ class M2StatusBarView @JvmOverloads constructor(
super.onAttachedToWindow()
post {
val params: ViewGroup.LayoutParams = getLayoutParams()
params.height = AutoSizeUtils.dp2px(context,40f)
params.height = AutoSizeUtils.dp2px(context,60f)
layoutParams = params
}
//添加view控制

View File

@@ -74,9 +74,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/dp_7"
android:maxWidth="@dimen/dp_281"
android:maxHeight="@dimen/dp_32"
android:scaleType="fitXY"
android:src="@drawable/shuttle_p_m2_status_bar_logo"
app:isUseSkin="true"
app:layout_constraintBottom_toBottomOf="parent"