Every One Here
When i update my ADT plugin to ADT 16 i get One new (Tool)thing which is run android Lint when i run it after select my android project it give me more 550 warning related to project for android .should i have to follow advise by Lint for my resource like String.xml and some of layout use in my activity .
For Knowing more about Lint i refer this tips here is Click here It also Give me Warning Like Below :
Hardcoded string "AnyThing", should use @string resource
So what i think is Lint will help for resource problem in android.
If you have more thing about android lint then let me known .
and what should i do will This xml for lint and where should i put this xml in project root or any other directory.
<?xml version="1.0" encoding="UTF-8"?>
<lint>
</lint>
and i also getting This Warning "[Accessibility] missing contentDescription
attribute on image" for ImageView
. while using android lint
I think by giving following things like below To Images:
android:contentDescription="@string/desc"
This defines text that briefly describes content of the view. This property is used primarily for accessibility. Since some views do not have textual representation this attribute can be used for providing such.
Non-textual widgets like ImageViews
and ImageButtons
should use the contentDescription
attribute to specify a textual description of the widget such that screen readers and other accessibility tools can adequately describe the user interface.