add obu delay

This commit is contained in:
lixiaopeng
2022-03-23 15:03:24 +08:00
parent d72cc620ca
commit fc85d3ffff
5 changed files with 160 additions and 112 deletions

View File

@@ -1236,4 +1236,11 @@ class DebugSettingView @JvmOverloads constructor(
}
/**
* 时延显示
*/
override fun onObuV2iDelayTime(delayTime: Long) {
tvObuDelay.text = "obu时延" + delayTime.toString()
}
}

View File

@@ -843,8 +843,22 @@
android:textSize="@dimen/dp_24"
app:layout_constraintTop_toBottomOf="@id/obuDivider"
/>
<View
android:id="@+id/obuDivider2"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#F0F0F0"
app:layout_constraintTop_toBottomOf="@id/tvObuInfo"
/>
<TextView
android:id="@+id/tvObuDelay"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="obu时延:"
android:textColor="#000"
android:textSize="@dimen/dp_24"
app:layout_constraintTop_toBottomOf="@id/obuDivider2"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
<ToggleButton