문제

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