如何在Google地图中显示“您的位置”选项放置自动填充TextView

时间:2016-04-11 12:12:25

标签: 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.PlaceAutocompleteFragment"
    />

喜欢这个 The top field is a Text View with a placeholder that says "Choose starting point" and below it is the option "Your location".

0 个答案:

没有答案