Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用它android:textIsSelectable,但仍然出现错误:TextView does not support text selection. Action mode cancelled.
android:textIsSelectable
TextView does not support text selection. Action mode cancelled.
谁能告诉我我可能做错了什么?
我敢打赌,您正在尝试在 EditText 上使用此属性。它仅适用于 TextView,因此您不能在 EditText 中使用它。