Android Google Places API - PlaceAutocompleteFragment clear button listener

前端 未结 3 814
甜味超标
甜味超标 2021-02-08 23:25

I am using Google Places API for Android - PlaceAutocompleteFragment API in my project to search locations, when user selects a location then get the records using location la

3条回答
  •  眼角桃花
    2021-02-08 23:28

    The answer above did not solve my problem. I could solve it with a trick :)

        autocompleteFragment.getView().findViewById(R.id.place_autocomplete_clear_button).setPadding(0,0,0,55555);
    

提交回复
热议问题