EditText On A Popup Window

前端 未结 5 2154
抹茶落季
抹茶落季 2020-12-05 19:43

I am developing on Android 2.2 using Java. I put an editText on a PopupWindow and it\'s not working. It acts like a disabled edit text, clicking on the edit text won\'t sho

5条回答
  •  有刺的猬
    2020-12-05 20:15

    I have resolved the problem like this: I put the popupWindow.setFocusable(true); and now it's working. It seems that the edit text which was on a pop window didn't have focus because the popup window didn't have focus.

提交回复
热议问题