Issue
Missing accessibility label: where
minSdk < 17
, you should provide anandroid:hint
Editable text fields should provide anandroid:hint
or, provided your minSdkVersion is at least 17, they may be referenced by a view with aandroid:labelFor
attribute. When usingandroid:labelFor
, be sure to provide anandroid:text
or anandroid:contentDescription
. If your view is labeled but by a label in a different layout which includes this one, just suppress this warning from lint.Issue id: LabelFor
How can fix this warning?
Solution
Just add
tools:ignore="LabelFor"
in your xml.
Answered By - Mihai Adrian
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.