"TextView does not support text selection. Action mode cancelled."
I get this error when I try to bring up the context menu in an EditText in a PopupWindow in Android. The selection markers also do not work.
The question has been asked a number of times but has stayed unanswered:
How to enable selection markers for EditText in PopupWindow?
PopupWindow not triggering sytem context dialog on EditText long-press
I am just another person dealing with the same issue. Any ideas?
I have check around one hour, i found the solution: setwidth = wrapcontent (it's working with me)
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