From 8a343802976a1b40170a0a5a34b3fe533edd111b Mon Sep 17 00:00:00 2001 From: liujing Date: Wed, 29 Jun 2022 18:39:03 +0800 Subject: [PATCH] =?UTF-8?q?[add]=20=E4=B9=98=E5=AE=A2=E5=B1=8F=E9=80=9F?= =?UTF-8?q?=E5=BA=A6=E6=95=B0=E6=8D=AE=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/res/layout/bus_base_fragment.xml | 58 +++++++++---------- .../hmi/ui/widget/TapPositionView.java | 1 + .../core/function/smp/AMapCustomView.java | 50 +++++++++++++++- 3 files changed, 76 insertions(+), 33 deletions(-) diff --git a/OCH/mogo-och-bus/src/main/res/layout/bus_base_fragment.xml b/OCH/mogo-och-bus/src/main/res/layout/bus_base_fragment.xml index df70fc4d12..7ab295d950 100644 --- a/OCH/mogo-och-bus/src/main/res/layout/bus_base_fragment.xml +++ b/OCH/mogo-och-bus/src/main/res/layout/bus_base_fragment.xml @@ -5,39 +5,38 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginTop="@dimen/dp_72"> - - - + android:gravity="center" + tools:visibility="visible" > - + android:layout_centerVertical="true" + android:textStyle="bold"/> @@ -91,24 +89,21 @@ android:layout_marginLeft="@dimen/module_mogo_och_margin_left" android:background="@drawable/bus_switch_map_bg" android:elevation="@dimen/bus_dp_10" - android:gravity="center" - android:orientation="horizontal" android:padding="@dimen/bus_dp_20" app:layout_constraintBottom_toBottomOf="@+id/module_mogo_och_operation_status" - app:layout_constraintLeft_toRightOf="@+id/module_mogo_och_operation_status"> + app:layout_constraintLeft_toRightOf="@+id/module_mogo_och_operation_status" + android:gravity="center" + android:orientation="horizontal"> - + app:layout_constraintLeft_toLeftOf="parent"/> - - + android:background="@drawable/bus_setting_tip_red_cir_bg" /> @@ -156,11 +151,11 @@ android:layout_height="@dimen/module_mogo_och_operation_status_bg_height" android:layout_marginLeft="@dimen/module_mogo_och_margin_left" android:layout_marginBottom="@dimen/module_mogo_och_margin_bottom" - android:elevation="@dimen/dp_10" android:src="@drawable/bus_badcase_btn_bg" + android:elevation="@dimen/dp_10" android:visibility="gone" app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintLeft_toRightOf="@id/module_mogo_och_setting_layout" /> + app:layout_constraintLeft_toRightOf="@id/module_mogo_och_setting_layout"/> -