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