From a0748e0c778f5df727b75da9f74a7143fd97e2df Mon Sep 17 00:00:00 2001 From: xuxinchao Date: Tue, 14 Mar 2023 18:03:58 +0800 Subject: [PATCH] =?UTF-8?q?[m2]=E4=BF=AE=E5=A4=8D=E8=B0=83=E8=AF=95?= =?UTF-8?q?=E7=AA=97=E5=88=87=E6=8D=A2=E8=87=AA=E8=BD=A6=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hmi/ui/setting/DebugSettingView.kt | 19 +++++++++---------- .../main/res/layout/view_debug_setting.xml | 4 +++- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/setting/DebugSettingView.kt b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/setting/DebugSettingView.kt index 868a98e6ac..3f3e16905f 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/setting/DebugSettingView.kt +++ b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/setting/DebugSettingView.kt @@ -9,7 +9,6 @@ import android.graphics.Color import android.os.Build import android.text.Html import android.util.AttributeSet -import android.util.Log import android.view.LayoutInflater import android.view.View import androidx.annotation.RequiresApi @@ -541,15 +540,15 @@ internal class DebugSettingView @JvmOverloads constructor( /** * 修改自车按钮(出租车、小巴车) */ - tbChangeCurrentCarIcon.setOnCheckedChangeListener { _, isChecked -> - if (!isChecked) { - // 替换为出租车图标 - CallerMapUIServiceManager.getMapUIController()?.changeCurrentIcon(R.raw.chuzuche) - } else { - // 替换为小巴车图标 - CallerMapUIServiceManager.getMapUIController()?.changeCurrentIcon(R.raw.xiaobache) - } - } +// tbChangeCurrentCarIcon.setOnCheckedChangeListener { _, isChecked -> +// if (!isChecked) { +// // 替换为出租车图标 +// CallerMapUIServiceManager.getMapUIController()?.changeCurrentIcon(R.raw.chuzuche) +// } else { +// // 替换为小巴车图标 +// CallerMapUIServiceManager.getMapUIController()?.changeCurrentIcon(R.raw.xiaobache) +// } +// } /** diff --git a/core/function-impl/mogo-core-function-hmi/src/main/res/layout/view_debug_setting.xml b/core/function-impl/mogo-core-function-hmi/src/main/res/layout/view_debug_setting.xml index e9265f5468..a31b6fbb82 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/res/layout/view_debug_setting.xml +++ b/core/function-impl/mogo-core-function-hmi/src/main/res/layout/view_debug_setting.xml @@ -1481,7 +1481,9 @@ android:textSize="@dimen/dp_24" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toLeftOf="@id/btnDrawTrolley" - app:layout_constraintTop_toBottomOf="@id/reset_changesight" /> + app:layout_constraintTop_toBottomOf="@id/reset_changesight" + android:visibility="invisible" + />