Questions tagged [autocompletesupportfragment]

3 questions
3
votes
0 answers

How to set onClickListener for AutocompleteSupportFragment without overriding the normal behaviour

I have an AutocompleteSupportFragment: val asf = getSupportFragmentManager().findFragmentById(R.id.support_fragment) as AutocompleteSupportFragment which looks like this:
user11194455
3
votes
4 answers

How to programmatically clear TextInputEditText in Android

I do not want to setText("") to clear the text. I want to simulator the click action of right cross icon. How to do it?
0
votes
1 answer

Style Text Color and Hint Color For AutocompleteSupportFragment In Android

I cannot change the color of the hint text as well as the text when i select a place from Google Places. Please see attached image. I tried android:textColorHint and android:editTextColor to no avail. Thoughts?