I am using PopupWindow class and on PopupWindow I have one EditText, my problem is that when PopupWindow is visible and I click on EditText at that time the soft keyboard is not visible and I am not able to enter Input. Can anybody tell me how to solve this problem?
When you create a new PopupWindow, use another constructor method, you must set the focusable = true; only the view could be focusable, the soft keyboard will show .
public PopupWindow(View contentView, int width, int height, boolean focusable) {}
The Default focusable is 'false'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With