Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/google-maps/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
你能在android中定制谷歌地图逐轮导航活动的用户界面吗?_Android_Google Maps_Navigation - Fatal编程技术网

你能在android中定制谷歌地图逐轮导航活动的用户界面吗?

你能在android中定制谷歌地图逐轮导航活动的用户界面吗?,android,google-maps,navigation,Android,Google Maps,Navigation,我正在开发一个与地图和导航相关的android应用程序。我想在屏幕上显示逐轮导航活动时向用户显示一些信息,但由于导航活动占据了整个屏幕,所以我无法显示任何内容。是否有任何方法可以编辑该屏幕的UI或任何其他替代方法,即如何在逐轮导航上显示某些信息? <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"

我正在开发一个与地图和导航相关的android应用程序。我想在屏幕上显示逐轮导航活动时向用户显示一些信息,但由于导航活动占据了整个屏幕,所以我无法显示任何内容。是否有任何方法可以编辑该屏幕的UI或任何其他替代方法,即如何在逐轮导航上显示某些信息?


<RelativeLayout 
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

    <fragment
        android:id="@+id/map"
        android:name="com.google.android.gms.maps.SupportMapFragment"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        tools:context=".MapsActivity" />

   //Add your Layout here, It overlaps the Map Screen

</RelativeLayout>
//在此处添加布局,它与地图屏幕重叠
不,您正在编辑地图片段,我知道我可以做到。。就像我说的,我想在导航活动中编辑ui。