Вопрос

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.

Это было полезно?

Решение

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.

Другие советы

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top