<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/custom_info_window_bg"
android:layout_marginRight="20dp">
<LinearLayout
android:id="@+id/infoWindowNavigate"
android:layout_width="wrap_content"
android:layout_height="40dp"
android:gravity="center"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent">
<TextView
android:id="@+id/distance"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="距您 ..."
android:textColor="@color/white"
android:textSize="13dp" />
<View
android:layout_width="0.5dp"
android:layout_height="15dp"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:background="@color/white" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="导航"
android:textColor="@color/white"
android:drawableLeft="@drawable/navigation_white_icon"
android:textSize="13dp" />
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
|