Damir
Damir

Reputation: 56199

AutoCompleteTextView select problem

I want to know if this is possible using Android's XML: I have AutoCompleteTextView and I want by default that I have some text inside ( I set android:text="test" and connect in Activity to adapter) but when user start typing to automatically delete "test" and start print inside autocomplete user inputs ?

Upvotes: 0

Views: 190

Answers (1)

Ashterothi
Ashterothi

Reputation: 3282

What you want is android:hint="test" within the XML for that text view.

Upvotes: 3

Related Questions