From 198a066f45e52d1c6784633c76722b473fed3cac Mon Sep 17 00:00:00 2001 From: liujing Date: Tue, 31 May 2022 16:50:37 +0800 Subject: [PATCH] =?UTF-8?q?ui=E5=BE=AE=E8=B0=83,=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../eagle/core/function/hmi/ui/widget/SteeringWheelView.java | 2 -- .../src/main/res/layout/hmi_steering_wheel_bus.xml | 2 +- .../src/main/res/layout/hmi_steering_wheel_taxi.xml | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/widget/SteeringWheelView.java b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/widget/SteeringWheelView.java index f4cdc274b0..f6f551b1a2 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/widget/SteeringWheelView.java +++ b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/widget/SteeringWheelView.java @@ -79,14 +79,12 @@ public class SteeringWheelView extends ConstraintLayout { steeringCircularV.setBackWidth(8); steeringCircularV.setBackColor(R.color.hmi_light_back_bg); steeringCircularV.setProgColor(R.color.hmi_light_blue, R.color.hmi_dark_blue); - steeringCircularV.setProgress((int) (180 * 100) / 360, 1000); if (AppIdentityModeUtils.isTaxi(FunctionBuildConfig.appIdentityMode)) { steeringCircularVAlpha = findViewById(R.id.steering_circular_alpha); steeringCircularVAlpha.setBackWidth(8); steeringCircularVAlpha.setBackColor(R.color.hmi_clear_00); steeringCircularVAlpha.setProgColor(R.color.hmi_light_blue_alpha_ff, R.color.hmi_light_blue_alpha_00); steeringCircularVAlpha.setBlurMaskFilter(BlurMaskFilter.Blur.NORMAL, 12); - steeringCircularVAlpha.setProgress((int) (180 * 100) / 360, 1000); } } diff --git a/core/function-impl/mogo-core-function-hmi/src/main/res/layout/hmi_steering_wheel_bus.xml b/core/function-impl/mogo-core-function-hmi/src/main/res/layout/hmi_steering_wheel_bus.xml index cc2381f617..f242b87074 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/res/layout/hmi_steering_wheel_bus.xml +++ b/core/function-impl/mogo-core-function-hmi/src/main/res/layout/hmi_steering_wheel_bus.xml @@ -38,7 +38,7 @@ android:layout_centerHorizontal="true" android:layout_gravity="center_horizontal" android:src="@drawable/bg_auto" - android:layout_marginTop="@dimen/dp_16" + android:layout_marginTop="@dimen/dp_6" app:layout_constraintBottom_toBottomOf="@+id/steering_circular" app:layout_constraintLeft_toLeftOf="@+id/steering_circular" app:layout_constraintRight_toRightOf="@+id/steering_circular" diff --git a/core/function-impl/mogo-core-function-hmi/src/main/res/layout/hmi_steering_wheel_taxi.xml b/core/function-impl/mogo-core-function-hmi/src/main/res/layout/hmi_steering_wheel_taxi.xml index 2e2529e3c6..eb4ea8ea6b 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/res/layout/hmi_steering_wheel_taxi.xml +++ b/core/function-impl/mogo-core-function-hmi/src/main/res/layout/hmi_steering_wheel_taxi.xml @@ -28,7 +28,7 @@ android:textColor="#FFFFFFFF" android:textSize="@dimen/dp_37" android:visibility="invisible" - app:layout_constraintRight_toLeftOf="@+id/blue_circle" + app:layout_constraintRight_toLeftOf="@+id/autopilot_iv" app:layout_constraintTop_toTopOf="parent" />