Cannot input text for an Edittext view inside a Popupwindow?

view story

http://stackoverflow.com – I want to enter text from soft keyboard to an Edittext widget inside a popupwindow, but I'm struggling with some problems. My activity is a game-card table, and enable some animations on that. In the gametable, there are some buttons. If player click on certain button, a popupwindow will be shown. The problem is player cannot input text to Edittext inside a popupwindow. I found some similar issues about this, and the most popular suggestion is : Popupwindow.setFocusable(true) With this setting, I can input normally to Edittext. However, this will block main UI thread and cause stop the an (HowTos)