From f37bff54ec2554809de29e15c85510f4d124fd17 Mon Sep 17 00:00:00 2001 From: aibingbing Date: Mon, 8 Jul 2024 18:04:16 +0800 Subject: [PATCH] =?UTF-8?q?[6.5.0]=20refactor:=20=E4=BA=8B=E4=BB=B6?= =?UTF-8?q?=E5=BC=B9=E6=A1=86=20ICON=20UI=20=E4=BF=AE=E6=94=B9=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core/function/hmi/ui/v2n/RoadV2NEventWindowView.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/v2n/RoadV2NEventWindowView.kt b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/v2n/RoadV2NEventWindowView.kt index cd920a213e..aa58c81c53 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/v2n/RoadV2NEventWindowView.kt +++ b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/v2n/RoadV2NEventWindowView.kt @@ -74,7 +74,7 @@ class RoadV2NEventWindowView @JvmOverloads constructor( LayoutInflater.from(context).inflate(R.layout.hmi_view_road_v2n_event_window, this, true) } - val dismissRunnable = Runnable { + private val dismissRunnable = Runnable { CallerLogger.i(TAG, "dismissRunnable") visibility = View.GONE } @@ -108,8 +108,8 @@ class RoadV2NEventWindowView @JvmOverloads constructor( containerIconHint.layoutParams = containerIconHintLayoutParams val ivV2XImageLayoutParams = ivV2XImage.layoutParams as RelativeLayout.LayoutParams - ivV2XImageLayoutParams.width = AutoSizeUtils.dp2px(context, 69f) - ivV2XImageLayoutParams.height = AutoSizeUtils.dp2px(context, 69f) + ivV2XImageLayoutParams.width = AutoSizeUtils.dp2px(context, 69f + 20f) + ivV2XImageLayoutParams.height = AutoSizeUtils.dp2px(context, 69f + 20f) ivV2XImage.layoutParams = ivV2XImageLayoutParams val tvV2XHintContentLayoutParams =