From d9acd807617998f5150005515fdda080279d5c7d Mon Sep 17 00:00:00 2001 From: donghongyu Date: Tue, 29 Mar 2022 17:59:07 +0800 Subject: [PATCH] =?UTF-8?q?[Change]=20=E5=A2=9E=E5=8A=A0=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: donghongyu --- .../core/function/hmi/ui/MoGoHmiFragment.kt | 9 +++ .../src/main/res/layout/fragment_hmi.xml | 62 ++++++++----------- 2 files changed, 36 insertions(+), 35 deletions(-) diff --git a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/MoGoHmiFragment.kt b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/MoGoHmiFragment.kt index 5ffa84b7e7..9b66fdfcb8 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/MoGoHmiFragment.kt +++ b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/MoGoHmiFragment.kt @@ -195,14 +195,23 @@ class MoGoHmiFragment : MvpFragment } } + /** + * 设置 V2X 通知 代理View + */ override fun setProxyNotificationView(view: IViewNotification) { mViewNotification = view } + /** + * 设置 红绿灯 代理View + */ override fun setProxyTrafficLightView(view: IViewTrafficLight) { mViewTrafficLight = view } + /** + * 设置 限速 代理View + */ override fun setProxyLimitingSpeedView(view: IViewLimitingVelocity) { mViewLimitingVelocity = view } diff --git a/core/function-impl/mogo-core-function-hmi/src/main/res/layout/fragment_hmi.xml b/core/function-impl/mogo-core-function-hmi/src/main/res/layout/fragment_hmi.xml index 33fb48ffc0..4cb2702ebb 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/res/layout/fragment_hmi.xml +++ b/core/function-impl/mogo-core-function-hmi/src/main/res/layout/fragment_hmi.xml @@ -53,6 +53,18 @@ app:layout_constraintTop_toBottomOf="@+id/viewSpeedChart" app:layout_goneMarginStart="@dimen/module_mogo_autopilot_status_margin_left" /> + + + - - - - - - - - - + + app:layout_goneMarginStart="50px" /> + app:layout_constraintCircle="@id/ivToolsIcon" + app:layout_constraintCircleAngle="45" + app:layout_constraintCircleRadius="60px" + tools:ignore="MissingConstraints" /> - - @@ -159,23 +151,23 @@ android:id="@+id/turnLightView" android:layout_width="wrap_content" android:layout_height="wrap_content" - app:layout_constraintTop_toTopOf="parent" + android:layout_marginTop="42px" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" - android:layout_marginTop="42px" /> + app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintTop_toTopOf="parent" /> - - - + + + \ No newline at end of file