[6.7.3]
1、修复乘客屏幕的状态栏高度,防止被遮盖
This commit is contained in:
@@ -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控制
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user