添加初步联合定位功能

This commit is contained in:
ZhanGSKen
2025-03-10 21:11:05 +08:00
parent 96332c9986
commit 4fd636090e
17 changed files with 381 additions and 86 deletions

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#FFCAFECC">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Text"
android:id="@+id/location_text_view"/>
</LinearLayout>

View File

@@ -1,14 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="fragment_positions"
android:layout_weight="1.0"
android:id="@+id/current_position_tv"/>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="定位"
android:id="@+id/locking_position_btn"/>
</LinearLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="fragment_positions"/>
</LinearLayout>

View File

@@ -4,6 +4,9 @@
<item
android:id="@+id/item_testmapview"
android:title="TestMapViewActivity"/>
<item
android:id="@+id/item_joint_positioning"
android:title="JointPositioningActivity"/>
<item
android:id="@+id/item_demomain"
android:title="DemoMainActivity"/>