fix: 增加单个数据导航功能
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:padding="@dimen/default_widget_padding"
|
||||
android:layout_height="match_parent">
|
||||
android:background="@drawable/selector_hui_bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/navi_type_title"
|
||||
@@ -24,7 +25,7 @@
|
||||
android:id="@+id/navi_type_car"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:button="null"
|
||||
android:button="@null"
|
||||
android:text="驾车"
|
||||
android:background="@drawable/selector_default_btn_round_corner_bg"
|
||||
style="@style/btn_round_corner"></RadioButton>
|
||||
@@ -32,7 +33,7 @@
|
||||
android:id="@+id/navi_type_ride"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:button="null"
|
||||
android:button="@null"
|
||||
android:text="骑行"
|
||||
android:layout_marginHorizontal="@dimen/fab_margin"
|
||||
android:background="@drawable/selector_default_btn_round_corner_bg"
|
||||
@@ -41,7 +42,7 @@
|
||||
android:id="@+id/navi_type_walk"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:button="null"
|
||||
android:button="@null"
|
||||
android:text="步行"
|
||||
android:background="@drawable/selector_default_btn_round_corner_bg"
|
||||
style="@style/btn_round_corner"></RadioButton>
|
||||
|
||||
@@ -163,6 +163,25 @@
|
||||
app:layout_constraintLeft_toLeftOf="@id/iv_refrish"
|
||||
app:layout_constraintTop_toBottomOf="@id/iv_refrish" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/fram_navi_view"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<com.tencent.map.navi.car.CarNaviView
|
||||
android:id="@+id/carnaviview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
<com.tencent.map.navi.ride.RideNaviView
|
||||
android:id="@+id/ridenaviview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
<com.tencent.map.navi.walk.WalkNaviView
|
||||
android:id="@+id/walknaviview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
</FrameLayout>
|
||||
</FrameLayout>
|
||||
|
||||
<LinearLayout
|
||||
|
||||
Reference in New Issue
Block a user