Autocomplete/Autofill Edit Text Android -
i looking achieve functionality of autocompletetextview
different. instead of getting drop-down list suggestions want complete sentence me.
for example: type abc
, completed, rest of text in grey: abc1@etc.etc
, click button keep text or keep writing filter further.
do think is achievable somehow?
i have looked problem far answers found involved drop-down list, perhaps haven't looked deep enough.
why don't try implement custom view?
basically, need same things autocompletetextview instead of displaying n elements drop down list have add first option edittext.
have at:
- textwatcher in order see how detect user input , progress
you can play indexes , spannables in order keep track of data input user , data suggesting.
one thing don't idea fact if have got:
- germans
- germany
- ...
you need type lot of letters without possibility choose different solution providing.
Comments
Post a Comment