[fix]
[根据状态栏高度调整]
This commit is contained in:
yangyakun
2024-09-03 10:41:21 +08:00
parent 1054a82eba
commit db2d1268eb
3 changed files with 2 additions and 3 deletions

View File

@@ -127,7 +127,7 @@ object RunningTaskManager : LifecycleEventObserver{
}
override fun show() {
pop.showAtLocation(activity.window.decorView, gravity, startX, if (isImmersiveMode) 0 else BarUtils.getStatusBarHeight() + startY)
pop.showAtLocation(activity.window.decorView, gravity, startX, startY)
}
override fun isOverride(): Boolean = isOverride
}

View File

@@ -54,7 +54,6 @@ class RunningTaskManagerView: WindowRelativeLayout, RunningTastViewModel.Running
}
private fun initView(){
background = ColorDrawable(Color.parseColor("#F0151D41"))
clLayout.setOnClickListener {
}
//关闭BadCase管理窗口

View File

@@ -4,7 +4,7 @@
android:layout_width="960dp"
android:layout_height="match_parent"
android:background="#F0151D41"
android:paddingBottom="@dimen/dp_72"
android:layout_marginTop="@dimen/dp_72"
android:id="@+id/clLayout"
>