From cd9b7885c103e8a4df1f8622bc03da32d793cf48 Mon Sep 17 00:00:00 2001 From: EmArrow Date: Tue, 10 Sep 2024 17:16:38 +0800 Subject: [PATCH] [6.7.0-tmp] --- .../main/res/layout/taxi_base_fragment.xml | 67 ++++++++++--------- .../hmi/ui/bone/BoneTopStatusLayout.kt | 23 +++++++ .../main/res/layout/view_bone_container.xml | 7 ++ .../main/res/layout/view_bone_top_status.xml | 9 +++ .../src/main/res/values/dimens.xml | 1 + 5 files changed, 74 insertions(+), 33 deletions(-) create mode 100644 core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/bone/BoneTopStatusLayout.kt create mode 100644 core/function-impl/mogo-core-function-hmi/src/main/res/layout/view_bone_top_status.xml diff --git a/OCH/taxi/driver/src/main/res/layout/taxi_base_fragment.xml b/OCH/taxi/driver/src/main/res/layout/taxi_base_fragment.xml index 827352b04a..1147981975 100644 --- a/OCH/taxi/driver/src/main/res/layout/taxi_base_fragment.xml +++ b/OCH/taxi/driver/src/main/res/layout/taxi_base_fragment.xml @@ -164,35 +164,33 @@ android:id="@+id/roadV2NEventWindowView" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginRight="@dimen/dp_45" android:layout_marginTop="@dimen/dp_350" + android:layout_marginRight="@dimen/dp_45" + android:visibility="gone" app:layout_constraintRight_toRightOf="parent" - app:layout_constraintTop_toTopOf="parent" - android:visibility="gone"/> + app:layout_constraintTop_toTopOf="parent" /> + app:explorationUser="driver" + app:layout_constraintRight_toRightOf="parent" + app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintRight_toRightOf="parent" + app:layout_constraintTop_toTopOf="parent" + app:promptUser="driver" /> + app:layout_constraintLeft_toLeftOf="parent" + app:layout_constraintRight_toRightOf="parent" + app:layout_constraintTop_toTopOf="parent" /> + android:layout_height="wrap_content" + android:layout_marginStart="@dimen/dp_618" + android:layout_marginBottom="@dimen/dp_48" + app:layout_constraintBottom_toTopOf="@+id/toolsView" + app:layout_constraintStart_toStartOf="parent" /> + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintLeft_toRightOf="@id/rtv_switch" /> + app:layout_constraintBottom_toTopOf="@+id/smallMapView" + app:layout_constraintEnd_toEndOf="@+id/smallMapView" + app:layout_constraintStart_toStartOf="@+id/smallMapView" /> - + + + + + + \ No newline at end of file diff --git a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/bone/BoneTopStatusLayout.kt b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/bone/BoneTopStatusLayout.kt new file mode 100644 index 0000000000..94f0ff979a --- /dev/null +++ b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/bone/BoneTopStatusLayout.kt @@ -0,0 +1,23 @@ +package com.mogo.eagle.core.function.hmi.ui.bone + +import android.content.Context +import android.util.AttributeSet +import android.view.LayoutInflater +import androidx.constraintlayout.widget.ConstraintLayout +import com.mogo.eagle.core.function.hmi.R + +class BoneTopStatusLayout @JvmOverloads constructor( + context: Context, + attrs: AttributeSet? = null, + defStyleAttr: Int = 0 +) : ConstraintLayout(context, attrs, defStyleAttr) { + + init { + LayoutInflater.from(context).inflate(R.layout.view_bone_tab, this, true) + initView() + } + + private fun initView() { + + } +} \ No newline at end of file diff --git a/core/function-impl/mogo-core-function-hmi/src/main/res/layout/view_bone_container.xml b/core/function-impl/mogo-core-function-hmi/src/main/res/layout/view_bone_container.xml index 28c5490eb3..d655accc62 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/res/layout/view_bone_container.xml +++ b/core/function-impl/mogo-core-function-hmi/src/main/res/layout/view_bone_container.xml @@ -6,6 +6,13 @@ android:background="@drawable/bone_bg" android:layout_gravity="center"> + + + + + + + \ No newline at end of file diff --git a/core/mogo-core-res/src/main/res/values/dimens.xml b/core/mogo-core-res/src/main/res/values/dimens.xml index 9663b6fecb..20abdadda0 100644 --- a/core/mogo-core-res/src/main/res/values/dimens.xml +++ b/core/mogo-core-res/src/main/res/values/dimens.xml @@ -1028,6 +1028,7 @@ 1000dp 1003dp 1017dp + 1046dp 1055dp 1090dp 1092dp