From 943abe317174095784e9c2546cdbd4a7d97fa5cc Mon Sep 17 00:00:00 2001 From: xuxinchao Date: Fri, 14 Apr 2023 11:43:23 +0800 Subject: [PATCH] =?UTF-8?q?[dev=5Frobobus-d=5F230413=5F3.1.0]fix=E8=BD=A6?= =?UTF-8?q?=E9=80=9F=E8=AE=BE=E7=BD=AE=E5=85=89=E6=A0=87=E4=BD=8D=E7=BD=AE?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../eagle/core/function/hmi/ui/tools/AutoPilotAndCheckView.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/tools/AutoPilotAndCheckView.kt b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/tools/AutoPilotAndCheckView.kt index e4d55ce80c..2b5bbfbf0b 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/tools/AutoPilotAndCheckView.kt +++ b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/tools/AutoPilotAndCheckView.kt @@ -165,6 +165,7 @@ internal class AutoPilotAndCheckView @JvmOverloads constructor( return@setOnTouchListener true } etInputSpeed.isFocusableInTouchMode = true + etInputSpeed.setSelection(speedLimit.toString().length) if (keyBoardUtil == null) { keyBoardUtil = KeyBoardUtil(sKeyBoardView, etInputSpeed) } @@ -191,6 +192,7 @@ internal class AutoPilotAndCheckView @JvmOverloads constructor( } else{ ToastUtils.showShort("车速不能再减了") } + etInputSpeed.setSelection(speedLimit.toString().length) } ivSpeedAdd.setOnClickListener { @@ -203,6 +205,7 @@ internal class AutoPilotAndCheckView @JvmOverloads constructor( } else{ ToastUtils.showShort("车速不能再加了") } + etInputSpeed.setSelection(speedLimit.toString().length) } //速度确认