Monday, January 11, 2016

Click edittext soft keyboard appears, but editext loses focus




            


What's happening here. . Great God please enlighten
Reply:
The reply to be removed administrator 2013-07-04 11:09:04

Reply:
The problems can be so strange you encounter?
Reply:
quote the second floor bcf102 reply:
so strange problems can be you encountered?

Yes. . Then elaborate edittext in expandablelistview of childview inside. .
Reply:
Such a strange question, which did not come across it. . .
Reply:
Ok! ! ! ! ! !
Reply:
The focus android really hate
Its know why. Not as clever bypass it.
Reply:
quote, 6th Floor macrojj reply:
android focal problem is very annoying
Its know why. Not as clever bypass it.


How to bypass it?
Reply:
Examples can be on what = =
Reply:
I have the same problem, I was in the ListView. Solution. ! !
Reply:
I was, ah, this is why ah
Reply:
Reference here http://blog.csdn.net/l_serein/article/details/7517011, I briefly describe the idea is to pop before and after the soft keyboard pops up, ListView in Item should be redrawn, resulting in EdiText ListView Item lose focus, soft keyboard pop record before clicking EditText, soft keyboard pops up after re-setting click. Or belonging to the application of the principle Adapter.
Reply:
. . . I also listview inside, with setOnEditorActionListener monitor, you need to confirm the soft keyboard keys can be used, to experience the effect or not! Landlord same situation arises with addTextChangedListener

No comments:

Post a Comment