just found myself trying figure out strange behavior in edittext.
information: bug seems happen in devices! i've seen in sony xperia d2303.
app description:
i'm working on app has main activity , navigation done trough different fragments replaced user moves 1 section another. @ 1 point i'm showing dialogfragment edit text field, background set @null, hint text. (i have tried normal edit text, taken widget list , dragged layout , found same behavior).
problem:
when clicking on edittext, software keyboard shows when typing there no letter input in edittext! can long press, visualize cursor position marker , magnifying glass shows up.
things i've tried:
- i've tried requesting focus xml, programmatically.
- setting touchable(in touch mode also)
- setting descendantfocusability attribute of parent 'afterdescendants'
- overriding ontouchlistener , showing keyboard programmatically through inputmanager , using edit text's token
… , maybe other things don't remember
there workaround i've found!!! sending app background, , bringing foreground again… seems related focus maybe?? why keyboard show up, , cursor marker , magnifying glass work?
this solution not work me depends on user taking action
has found problem? suggestions?
thanks in advance!
Comments
Post a Comment