I used ADT16.0 to define an ImageVIew and always prompt this [Accessibility] MissingcontentDescriptionattributeonimage warning. Although it can be ignored, it is always strange. I found this is a new feature of ADT16.0 on the Internet, in some controls without text display, such as imageView
Today I used ADT 16.0. When defining an ImageVIew, I always prompt this [Accessibility] Missing contentDescription attribute on image warning. Although I can ignore it, it is always strange, I found this is a new feature of ADT 16.0 on the Internet. In some controls without text display, such as imageView
Today I used ADT 16.0. When defining an ImageVIew, I always prompt this [Accessibility] Missing contentDescription attribute on image warning. Although I can ignore it, it is always strange, I found this is a new feature of ADT 16.0 on the Internet. In some controls without text display, such as imageView and imageButton, ADT will prompt you to define an android: contentDescription attribute, used to describe the role of this control.
Resolved this warning by setting attribute android: contentDescription for my ImageView
With the android: contentDescription = "@ string/app_name" warning, it will be gone.