EditText not focused
jayantur13 opened this issue · comments
Hi,
On Android 10,I am using this for taking a quick text note. But the problem is, EditText not get focused and keyboard doesn't appear and so I can't type in (Outside is usable)
Regards..
Android Q/10 -
If someone wants to use EditText in FloatingLayout can use this 2 flags,it will enable focus and you can write - WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH | WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL
- You cannot copy-paste text directly to EditText,you may use Clipboard for this operation
And this one not allows focus -
WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE