Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
p x
SuZhouAvp
Commits
9968f320
"app/src/main/assets/dist/js/chunk-vendors.cab2cbac.js" did not exist on "625086b02ff97b4536de13a1bedd656b299bac58"
Commit
9968f320
authored
Aug 27, 2025
by
p x
Browse files
使用模拟数据调通界面
parent
59b1b616
Changes
26
Hide whitespace changes
Inline
Side-by-side
app/src/main/res/drawable/rect_early_red_10.xml
0 → 100644
View file @
9968f320
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"rectangle"
>
<corners
android:radius=
"10dp"
/>
<stroke
android:width=
"1dp"
android:color=
"#96FB5344"
/>
<solid
android:color=
"#ffffff"
/>
</shape>
\ No newline at end of file
app/src/main/res/layout/activity_login.xml
View file @
9968f320
...
...
@@ -115,7 +115,8 @@
android:id=
"@+id/bt_vehinfo"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"获取车辆信息"
/>
android:text=
"获取车辆信息"
android:visibility=
"gone"
/>
<Button
...
...
app/src/main/res/layout/activity_main.xml
View file @
9968f320
...
...
@@ -4,9 +4,9 @@
<data>
<variable
name=
"vm"
type=
"com.sd.cavphmi.viewmodels.MainVm"
/>
<!--
<variable
-->
<!--
name="vm"
-->
<!--
type="com.sd.cavphmi.viewmodels.MainVm" />
-->
</data>
...
...
@@ -20,8 +20,6 @@
<!-- 车辆仪表-->
<FrameLayout
android:id=
"@+id/map_car_pan"
android:layout_alignParentRight=
"true"
android:layout_alignParentBottom=
"true"
android:layout_width=
"@dimen/map_left_top_widget"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/dp_10"
...
...
@@ -34,21 +32,23 @@
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
/>
<!-- 模拟气泡-->
<ImageView
android:id=
"@+id/view_populer"
android:layout_width=
"200dp"
android:layout_height=
"30dp"
android:layout_marginBottom=
"10dp"
android:layout_alignParentRight=
"true"
android:layout_above=
"@id/map_car_pan"
/>
<!-- 预警气泡 从别的醒目扣过来的,就复用这个吧-->
<fragment
android:id=
"@+id/earlyWarnFragment"
android:name=
"com.sd.cavphmi.ui.fragment.WarnFragment"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:layout_marginTop=
"5dp"
/>
<LinearLayout
android:layout_marginTop=
"30dp"
android:id=
"@+id/ll_1"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_alignParentRight=
"true"
android:layout_marginTop=
"30dp"
android:orientation=
"vertical"
android:src=
"#907867"
>
...
...
@@ -95,23 +95,16 @@
</LinearLayout>
<!-- 视频播放-->
<FrameLayout
android:id=
"@+id/video_frag"
android:layout_width=
"
500dp
"
android:layout_height=
"
360dp
"
android:layout_width=
"
wrap_content
"
android:layout_height=
"
wrap_content
"
android:layout_alignParentBottom=
"true"
android:layout_marginLeft=
"10dp"
android:layout_marginBottom=
"10dp"
android:background=
"@drawable/rect_no_col_10"
/>
<!-- <include-->
<!-- layout="@layout/order_detail"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_below="@+id/ll_head"-->
<!-- android:layout_marginLeft="15dp"-->
<!-- android:layout_marginTop="15dp"-->
<!-- bind:order="@{order}" />-->
</RelativeLayout>
...
...
app/src/main/res/layout/early_tip_base.xml
0 → 100644
View file @
9968f320
<?xml version="1.0" encoding="utf-8"?>
<layout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
>
<data>
<variable
name=
"bean"
type=
"com.sd.cavphmi.bean.WarningBean"
/>
</data>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:background=
"@drawable/rect_early_red_10"
android:elevation=
"1dp"
android:gravity=
"center_vertical"
android:orientation=
"horizontal"
android:paddingHorizontal=
"8dp"
android:paddingVertical=
"5dp"
>
<!-- android:scaleType="centerInside" android:adjustViewBounds="true"-->
<ImageView
android:layout_width=
"@dimen/dp_25"
android:layout_height=
"@dimen/dp_25"
android:scaleType=
"centerInside"
app:showEarlyTipImg=
"@{bean.img}"
tools:src=
"@drawable/chao_su"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"@{bean.tipStr}"
android:textColor=
"@color/text_black"
android:textSize=
"12sp"
android:layout_marginLeft=
"3dp"
tools:text=
"已超速,请减速行驶"
/>
</LinearLayout>
</layout>
\ No newline at end of file
app/src/main/res/layout/fragment_car_panel.xml
View file @
9968f320
...
...
@@ -5,9 +5,9 @@
<data>
<!--
<variable
-->
<!--
name="vm"
-->
<!--
type="com.
ltzw.adasdriver
.viewmodels.
flag.
CarPanelVM" />
-->
<variable
name=
"vm"
type=
"com.
sd.cavphmi
.viewmodels.CarPanelVM"
/>
<variable
name=
"cpBean"
...
...
@@ -131,6 +131,7 @@
android:layout_width=
"@dimen/dp_40"
android:layout_height=
"wrap_content"
android:max=
"100"
app:showProgress=
"@{cpBean.remainSoc}"
android:minHeight=
"8dp"
android:paddingVertical=
"0dp"
tools:progress=
"50"
/>
...
...
app/src/main/res/layout/fragment_warn.xml
0 → 100644
View file @
9968f320
<?xml version="1.0" encoding="utf-8"?>
<layout
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
>
<com.sd.cavphmi.ui.view.RoadWarn
android:id=
"@+id/roadWarn"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
/>
</LinearLayout>
</layout>
\ No newline at end of file
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment