Android “如何显示”;“您的位置”;谷歌地图中的选项放置自动完成文本视图

Android “如何显示”;“您的位置”;谷歌地图中的选项放置自动完成文本视图,android,google-maps,Android,Google Maps,我如何让用户选择在place auto complete fragment <fragment android:id="@+id/place_autocomplete" android:layout_width="match_parent" android:layout_height="wrap_content" android:name="com.google.android.gms.location.places.ui.PlaceAutocomplete

我如何让用户选择在
place auto complete fragment

<fragment
    android:id="@+id/place_autocomplete"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:name="com.google.android.gms.location.places.ui.PlaceAutocompleteFragment"
    />

像这样

不只是片段和
setOnPlaceSelectedListener()
它对位置搜索很好,您是如何实现的that@BryanKimani这就是问题所在