Android:"TextView不支持文本选择.动作模式已取消“ [英] Android: "TextView does not support text selection. Action mode cancelled"
问题描述
"TextView不支持文本选择.取消了操作模式."
"TextView does not support text selection. Action mode cancelled."
当我尝试在Android的PopupWindow中的EditText中调出上下文菜单时,出现此错误.选择标记也不起作用.
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:
如何在PopupWindow中启用EditText的选择标记?
PopupWindow不会触发EditText long上的系统上下文对话框-按
我只是另一个处理同一问题的人.有什么想法吗?
I am just another person dealing with the same issue. Any ideas?
推荐答案
我检查了大约一个小时,我找到了解决方法:setwidth = wrapcontent(正在和我一起工作)
I have check around one hour, i found the solution: setwidth = wrapcontent (it's working with me)
这篇关于Android:"TextView不支持文本选择.动作模式已取消“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!