[add] 前车碰撞预警 UI + 测试数据
This commit is contained in:
@@ -239,6 +239,20 @@
|
||||
android:textSize="@dimen/dp_22"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btnTriggerWarningEvent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/dp_10"
|
||||
android:layout_marginBottom="@dimen/dp_10"
|
||||
android:background="#1EBD85"
|
||||
android:padding="@dimen/dp_10"
|
||||
android:text="前车碰撞预警"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textSize="@dimen/dp_22"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btnTriggerPushEvent"
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"systemTime":1615529739389,
|
||||
"satelliteTime":1615529739389,
|
||||
"lon":116.411360351446,
|
||||
"lat":39.9760799115428,
|
||||
"alt":34.4648361206054,
|
||||
"heading":359.939618623258,
|
||||
"speed":11.108121,
|
||||
"type":3,
|
||||
"uuid":"2_1",
|
||||
"direction": "0"
|
||||
}
|
||||
Reference in New Issue
Block a user