[6.4.0][启自驾指引] 部分代码提交

This commit is contained in:
renwj
2024-04-16 19:09:14 +08:00
parent e2967a2c04
commit e4de6ab743
41 changed files with 948 additions and 88 deletions

View File

@@ -73,7 +73,7 @@ public abstract class BaseShuttleTabFragment<V extends IView, P extends Presente
private FrameLayout flStationPanelContainer;
private BizMapView mapBizView;
private Group groupTestPanel;
private ShuttleTrafficDataView mTrafficDataView;
// private ShuttleTrafficDataView mTrafficDataView;
// private BusTrafficLightView mTrafficLightView;
//远景和中景的切换
@@ -122,7 +122,11 @@ public abstract class BaseShuttleTabFragment<V extends IView, P extends Presente
// tvOperationStatus = findViewById(R.id.module_mogo_och_operation_status);
tvArrived = findViewById(R.id.module_mogo_och_arrived_tv);
mTrafficDataView = (ShuttleTrafficDataView) findViewById(R.id.bus_arc);
// mTrafficDataView = (ShuttleTrafficDataView) findViewById(R.id.bus_arc);
FrameLayout flSpeed = findViewById(R.id.fl_speed);
if (flSpeed != null) {
CallerDevaToolsManager.INSTANCE.attachAutopilotBeforeLaunchView(flSpeed.getContext(), flSpeed);
}
LayoutInflater.from(getContext()).inflate(getStationPanelViewId(), flStationPanelContainer);
slidePanelView.setOnSlidePanelMoveToEndListener(onSlideToEndListener);

View File

@@ -19,22 +19,33 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
<!-- <FrameLayout-->
<!-- android:id="@+id/fl_speed"-->
<!-- android:layout_width="@dimen/dp_585"-->
<!-- android:layout_height="@dimen/dp_304"-->
<!-- android:layout_marginLeft="@dimen/dp_10"-->
<!-- android:layout_marginTop="@dimen/dp_5"-->
<!-- android:visibility="visible"-->
<!-- app:layout_constraintLeft_toLeftOf="parent"-->
<!-- app:layout_constraintTop_toTopOf="parent">-->
<!-- <com.mogo.och.bus.ui.ShuttleTrafficDataView-->
<!-- android:id="@+id/bus_arc"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="match_parent" />-->
<!-- </FrameLayout>-->
<FrameLayout
android:id="@+id/fl_speed"
android:layout_width="@dimen/dp_585"
android:layout_height="@dimen/dp_304"
android:layout_marginLeft="@dimen/dp_10"
android:layout_marginTop="@dimen/dp_5"
android:layout_width="@dimen/dp_560"
android:layout_height="@dimen/dp_200"
android:layout_marginLeft="@dimen/dp_39"
android:layout_marginTop="@dimen/dp_36"
android:elevation="@dimen/dp_10"
android:visibility="visible"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent">
<com.mogo.och.bus.ui.ShuttleTrafficDataView
android:id="@+id/bus_arc"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</FrameLayout>
app:layout_constraintTop_toTopOf="parent"/>
<!--V2X预警红色边框-->
<com.mogo.eagle.core.function.hmi.ui.widget.V2XWarningView