I have the following warning (from the Lint) on each TextView
with an ID in my XMLs.
Consider making the text value selectable by specifying android:textIsSelectable="true"
Can anyone please explain me why does it suddenly (from ADT 21.1) happening?
Why does the Lint thinks that I want each TextView
to be selectable?
EDIT: I know it can be ignored, but I don't think it's a solution.
If you make the TextView
selectable, users can use copy/paste on it. Obviously the "lint" developers thought that was a good thing, so they warn you if you don't do it. There are lots of lint warnings that are just "suggestions", which is why there are easy ways to turn these warnings off.
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