Question

I updated Eclipse and SDK and now in every xml file the TextViews have the warning "Consider making the text value selectable by specifying android:textIsSelectable="true"".

Is it possible to hide the warnings, I hate to have my project with a lot of yellow exclamation marks.

Was it helpful?

Solution

Go to the propeties of your project. Go to Android Lint Preferences. Search for SelectableText and change the severity to ignore.

You can also do this in Eclipse preferences for all projects.

OTHER TIPS

There is a good reason for this warning. By just disabling it, you are basically ignoring user interface guidelines of Android and you are not using the full potential of the user interface of your app. Therefore looking at each text view and explicitly setting this attribute to either false or true will increase the quality of your app.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top