Android accessibility for edittext with prefiled text -


i have field code starts same 4 letters, prefilled. problem is, because prefilled, hint of edittext isn't being read talkback, hear 4 numbers.

is possible share hint , prefilled numbers ?

thanks

no, there no way can show text , hint inside edittext @ same instance. can use autocompletetextview

arrayadapter<string> adapter = new arrayadapter<string>(this,                  android.r.layout.simple_dropdown_item_1line, countries);          autocompletetextview textview = (autocompletetextview)                  findviewbyid(r.id.countries_list);          textview.setadapter(adapter); 

now, when user tap textview(autocomplete), there string of prefilled, he'll hits according list


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -