更新时间:2022-12-30 08:03:26
使用片段实例,您可以在搜索框EditText
中更改字体大小和所需的内容.这就是您需要做的
Using fragment instance you can change the font size and whatever you want with the Search box EditText
.. this is how you need to do
// placeAutocompleteFragment - is my PlaceAutocompleteFragment instance
((EditText)placeAutocompleteFragment.getView().findViewById(R.id.place_autocomplete_search_input)).setTextSize(10.0f);
更新时间:20/05/26
看起来像最新的SDK视图ID更改为R.id.places_autocomplete_search_input
Looks like in latest SDK view id is changed to R.id.places_autocomplete_search_input