[8.0.0][opt]调整预测和AIP的UI布局

This commit is contained in:
chenfufeng
2025-05-08 16:07:38 +08:00
parent c22831be27
commit ae0060292d
3 changed files with 142 additions and 140 deletions

View File

@@ -6,108 +6,108 @@
android:layout_height="match_parent"
tools:parentTag="androidx.constraintlayout.widget.ConstraintLayout">
<!-- <com.mogo.eagle.core.function.view.PredictionMap2View-->
<!-- android:id="@+id/preDetailView2"-->
<!-- android:layout_width="238dp"-->
<!-- android:layout_height="458dp"-->
<!-- app:layout_constraintStart_toStartOf="parent"-->
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
<!-- android:layout_marginStart="@dimen/dp_27"-->
<!-- android:layout_marginBottom="24dp"-->
<!-- app:carPosition="6"-->
<!-- app:isAutoLocation="false"-->
<!-- app:isDisplayAnim="false"-->
<!-- app:isWeatherEnable="false"-->
<!-- app:styleMode="MAP_STYLE_DAY_VR_AIP"-->
<!-- app:vrAngleMode="MAP_STYLE_VR_ANGLE_TOP" />-->
<!-- <com.mogo.eagle.core.function.view.DecisionMapView-->
<!-- android:id="@+id/decMapView"-->
<!-- android:layout_width="238dp"-->
<!-- android:layout_height="458dp"-->
<!-- app:layout_constraintStart_toStartOf="parent"-->
<!-- app:layout_constraintEnd_toEndOf="parent"-->
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
<!-- android:layout_marginBottom="24dp"-->
<!-- android:focusable="false"-->
<!-- android:focusableInTouchMode="false"-->
<!-- app:carPosition="6"-->
<!-- app:isAutoLocation="false"-->
<!-- app:isDisplayAnim="false"-->
<!-- app:isWeatherEnable="false"-->
<!-- app:styleMode="MAP_STYLE_DAY_VR_AIP"-->
<!-- app:vrAngleMode="MAP_STYLE_VR_ANGLE_TOP" />-->
<!-- <com.mogo.eagle.core.function.view.PredictionMap3View-->
<!-- android:id="@+id/preDetailView3"-->
<!-- android:layout_width="238dp"-->
<!-- android:layout_height="458dp"-->
<!-- app:layout_constraintEnd_toEndOf="parent"-->
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
<!-- android:layout_marginEnd="@dimen/dp_27"-->
<!-- android:layout_marginBottom="20dp"-->
<!-- app:carPosition="6"-->
<!-- app:isAutoLocation="false"-->
<!-- app:isDisplayAnim="false"-->
<!-- app:isWeatherEnable="false"-->
<!-- app:styleMode="MAP_STYLE_DAY_VR_AIP"-->
<!-- app:vrAngleMode="MAP_STYLE_VR_ANGLE_TOP" />-->
<androidx.cardview.widget.CardView
android:id="@+id/decContainer"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:cardBackgroundColor="#D7F1FF"
app:cardCornerRadius="20dp"
app:cardElevation="0dp"
<com.mogo.eagle.core.function.view.PredictionMap2View
android:id="@+id/preDetailView2"
android:layout_width="238dp"
android:layout_height="458dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
>
app:layout_constraintBottom_toBottomOf="parent"
android:layout_marginStart="@dimen/dp_27"
android:layout_marginBottom="24dp"
app:carPosition="6"
app:isAutoLocation="false"
app:isDisplayAnim="false"
app:isWeatherEnable="false"
app:styleMode="MAP_STYLE_DAY_VR_AIP"
app:vrAngleMode="MAP_STYLE_VR_ANGLE_TOP" />
<com.mogo.eagle.core.function.view.PredictionMap2View
android:id="@+id/preDetailView2"
android:layout_width="238dp"
android:layout_height="458dp"
android:layout_gravity="start|bottom"
android:layout_marginStart="@dimen/dp_27"
android:layout_marginBottom="24dp"
app:carPosition="6"
app:isAutoLocation="false"
app:isDisplayAnim="false"
app:isWeatherEnable="false"
app:styleMode="MAP_STYLE_DAY_VR_AIP"
app:vrAngleMode="MAP_STYLE_VR_ANGLE_TOP" />
<com.mogo.eagle.core.function.view.DecisionMapView
android:id="@+id/decMapView"
android:layout_width="238dp"
android:layout_height="458dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:layout_marginBottom="24dp"
android:focusable="false"
android:focusableInTouchMode="false"
app:carPosition="6"
app:isAutoLocation="false"
app:isDisplayAnim="false"
app:isWeatherEnable="false"
app:styleMode="MAP_STYLE_DAY_VR_AIP"
app:vrAngleMode="MAP_STYLE_VR_ANGLE_TOP" />
<com.mogo.eagle.core.function.view.DecisionMapView
android:id="@+id/decMapView"
android:layout_width="238dp"
android:layout_height="458dp"
android:layout_gravity="center_horizontal|bottom"
android:layout_marginBottom="24dp"
android:focusable="false"
android:focusableInTouchMode="false"
app:carPosition="6"
app:isAutoLocation="false"
app:isDisplayAnim="false"
app:isWeatherEnable="false"
app:styleMode="MAP_STYLE_DAY_VR_AIP"
app:vrAngleMode="MAP_STYLE_VR_ANGLE_TOP" />
<com.mogo.eagle.core.function.view.PredictionMap3View
android:id="@+id/preDetailView3"
android:layout_width="238dp"
android:layout_height="458dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:layout_marginEnd="@dimen/dp_27"
android:layout_marginBottom="20dp"
app:carPosition="6"
app:isAutoLocation="false"
app:isDisplayAnim="false"
app:isWeatherEnable="false"
app:styleMode="MAP_STYLE_DAY_VR_AIP"
app:vrAngleMode="MAP_STYLE_VR_ANGLE_TOP" />
<com.mogo.eagle.core.function.view.PredictionMap3View
android:id="@+id/preDetailView3"
android:layout_width="238dp"
android:layout_height="458dp"
android:layout_gravity="end|bottom"
android:layout_marginEnd="@dimen/dp_27"
android:layout_marginBottom="20dp"
app:carPosition="6"
app:isAutoLocation="false"
app:isDisplayAnim="false"
app:isWeatherEnable="false"
app:styleMode="MAP_STYLE_DAY_VR_AIP"
app:vrAngleMode="MAP_STYLE_VR_ANGLE_TOP" />
<!-- <androidx.cardview.widget.CardView-->
<!-- android:id="@+id/decContainer"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="match_parent"-->
<!-- app:cardBackgroundColor="#D7F1FF"-->
<!-- app:cardCornerRadius="20dp"-->
<!-- app:cardElevation="0dp"-->
<!-- app:layout_constraintStart_toStartOf="parent"-->
<!-- app:layout_constraintTop_toTopOf="parent"-->
<!-- >-->
</androidx.cardview.widget.CardView>
<!-- <com.mogo.eagle.core.function.view.PredictionMap2View-->
<!-- android:id="@+id/preDetailView2"-->
<!-- android:layout_width="238dp"-->
<!-- android:layout_height="458dp"-->
<!-- android:layout_gravity="start|bottom"-->
<!-- android:layout_marginStart="@dimen/dp_27"-->
<!-- android:layout_marginBottom="24dp"-->
<!-- app:carPosition="6"-->
<!-- app:isAutoLocation="false"-->
<!-- app:isDisplayAnim="false"-->
<!-- app:isWeatherEnable="false"-->
<!-- app:styleMode="MAP_STYLE_DAY_VR_AIP"-->
<!-- app:vrAngleMode="MAP_STYLE_VR_ANGLE_TOP" />-->
<!-- <com.mogo.eagle.core.function.view.DecisionMapView-->
<!-- android:id="@+id/decMapView"-->
<!-- android:layout_width="238dp"-->
<!-- android:layout_height="458dp"-->
<!-- android:layout_gravity="center_horizontal|bottom"-->
<!-- android:layout_marginBottom="24dp"-->
<!-- android:focusable="false"-->
<!-- android:focusableInTouchMode="false"-->
<!-- app:carPosition="6"-->
<!-- app:isAutoLocation="false"-->
<!-- app:isDisplayAnim="false"-->
<!-- app:isWeatherEnable="false"-->
<!-- app:styleMode="MAP_STYLE_DAY_VR_AIP"-->
<!-- app:vrAngleMode="MAP_STYLE_VR_ANGLE_TOP" />-->
<!-- <com.mogo.eagle.core.function.view.PredictionMap3View-->
<!-- android:id="@+id/preDetailView3"-->
<!-- android:layout_width="238dp"-->
<!-- android:layout_height="458dp"-->
<!-- android:layout_gravity="end|bottom"-->
<!-- android:layout_marginEnd="@dimen/dp_27"-->
<!-- android:layout_marginBottom="20dp"-->
<!-- app:carPosition="6"-->
<!-- app:isAutoLocation="false"-->
<!-- app:isDisplayAnim="false"-->
<!-- app:isWeatherEnable="false"-->
<!-- app:styleMode="MAP_STYLE_DAY_VR_AIP"-->
<!-- app:vrAngleMode="MAP_STYLE_VR_ANGLE_TOP" />-->
<!-- </androidx.cardview.widget.CardView>-->
<TextView
android:id="@+id/tvDecTitle"
@@ -115,7 +115,6 @@
android:layout_height="wrap_content"
android:text="AIP 规划与决策"
android:textColor="#394047"
android:textStyle="bold"
android:textSize="32dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"

View File

@@ -6,36 +6,35 @@
android:layout_height="match_parent"
tools:parentTag="androidx.constraintlayout.widget.ConstraintLayout">
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="match_parent"
app:cardBackgroundColor="#D7F1FF"
app:cardCornerRadius="20dp"
app:cardElevation="0dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<!-- <androidx.cardview.widget.CardView-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="match_parent"-->
<!-- app:cardBackgroundColor="#D7F1FF"-->
<!-- app:cardCornerRadius="20dp"-->
<!-- app:cardElevation="0dp"-->
<!-- app:layout_constraintStart_toStartOf="parent"-->
<!-- app:layout_constraintTop_toTopOf="parent">-->
<com.mogo.eagle.core.function.view.PredictionMapView
android:id="@+id/preDetailView"
android:layout_width="756dp"
android:layout_height="500dp"
android:layout_gravity="center_horizontal|bottom"
android:layout_marginBottom="26dp"
app:carPosition="6"
app:isAutoLocation="false"
app:isDisplayAnim="false"
app:isWeatherEnable="false"
app:styleMode="MAP_STYLE_DAY_VR_AIP"
app:vrAngleMode="MAP_STYLE_VR_ANGLE_TOP" />
<!-- <com.mogo.eagle.core.function.view.PredictionMapView-->
<!-- android:id="@+id/preDetailView"-->
<!-- android:layout_width="756dp"-->
<!-- android:layout_height="500dp"-->
<!-- android:layout_gravity="center_horizontal|bottom"-->
<!-- android:layout_marginBottom="26dp"-->
<!-- app:carPosition="6"-->
<!-- app:isAutoLocation="false"-->
<!-- app:isDisplayAnim="false"-->
<!-- app:isWeatherEnable="false"-->
<!-- app:styleMode="MAP_STYLE_DAY_VR_AIP"-->
<!-- app:vrAngleMode="MAP_STYLE_VR_ANGLE_TOP" />-->
</androidx.cardview.widget.CardView>
<!-- </androidx.cardview.widget.CardView>-->
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Prediction 预测"
android:textColor="#394047"
android:textStyle="bold"
android:textSize="@dimen/dp_32"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
@@ -43,18 +42,18 @@
android:layout_marginTop="@dimen/dp_41"
/>
<!-- <com.mogo.eagle.core.function.view.PredictionMapView-->
<!-- android:id="@+id/preDetailView"-->
<!-- android:layout_width="756dp"-->
<!-- android:layout_height="500dp"-->
<!-- app:layout_constraintStart_toStartOf="parent"-->
<!-- app:layout_constraintEnd_toEndOf="parent"-->
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
<!-- android:layout_marginBottom="26dp"-->
<!-- app:carPosition="6"-->
<!-- app:isAutoLocation="false"-->
<!-- app:isDisplayAnim="false"-->
<!-- app:isWeatherEnable="false"-->
<!-- app:styleMode="MAP_STYLE_DAY_VR_AIP"-->
<!-- app:vrAngleMode="MAP_STYLE_VR_ANGLE_TOP" />-->
<com.mogo.eagle.core.function.view.PredictionMapView
android:id="@+id/preDetailView"
android:layout_width="756dp"
android:layout_height="500dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:layout_marginBottom="26dp"
app:carPosition="6"
app:isAutoLocation="false"
app:isDisplayAnim="false"
app:isWeatherEnable="false"
app:styleMode="MAP_STYLE_DAY_VR_AIP"
app:vrAngleMode="MAP_STYLE_VR_ANGLE_TOP" />
</merge>