调试窗

fix布局错误
This commit is contained in:
xuxinchao
2022-05-24 11:51:41 +08:00
parent ab59b885fb
commit 8d419f2dd8
2 changed files with 8 additions and 2 deletions

View File

@@ -545,7 +545,7 @@ class DebugSettingView @JvmOverloads constructor(
}
// 演示模式,上一次勾选的数据
// 强制绘制引导线
tbIsDrawAutopilotTrajectoryData.setOnCheckedChangeListener { _, isChecked ->
FunctionBuildConfig.isIgnoreConditionsDrawAutopilotTrajectoryData = isChecked
}
@@ -598,6 +598,11 @@ class DebugSettingView @JvmOverloads constructor(
// FunctionBuildConfig.isDrawObuIdentifyData = isChecked
// }
//TODO
tbIsDrawPath.setOnCheckedChangeListener { _, isChecked ->
}
// 模拟自动驾驶中
tbChangeAutoPilotStatus.setOnCheckedChangeListener { _, isChecked ->
CallerAutoPilotManager.setControlAutopilotCarAuto(isChecked)

View File

@@ -1450,10 +1450,11 @@
android:textOn="强制绘制引导线"
android:textSize="@dimen/dp_24"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toLeftOf="@id/tbIsDrawAutopilotTrajectoryData"
app:layout_constraintRight_toLeftOf="@id/tbIsDrawPath"
app:layout_constraintTop_toBottomOf="@id/tbIsDrawIdentifyData" />
<ToggleButton
android:id="@+id/tbIsDrawPath"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_margin="2dp"