关于main.xml中使用ImageView引起Missing contentDescription attribute on image 的问题
2012-05-30 00:08
666 查看
在main.xml中增加ImageView控件时如果没有加 android:contentDescription="@string/app_name" 时会引起 Missing contentDescription attribute
on image,主要是因为在main.xml中没有使用TextView之类的文本控件,ADT会提示给像ImageView增加一个说明,这里添加 android:contentDescription="@string/app_name 即可,其实加不加影响不大。只是在IDE中会显示一个***下划线,不美观。
on image,主要是因为在main.xml中没有使用TextView之类的文本控件,ADT会提示给像ImageView增加一个说明,这里添加 android:contentDescription="@string/app_name 即可,其实加不加影响不大。只是在IDE中会显示一个***下划线,不美观。
相关文章推荐
- 关于main.xml中使用ImageView引起Missing contentDescription attribute on image 的问题
- 关于xml中使用ImageView或ImageButton引起Missing contentDescription attribute on image 的问题
- 关于xml中使用ImageView或ImageButton引起Missing contentDescription attribute on image 的问题
- 使用ImageView引起Missing contentDescription attribute on image的问题
- [Android]使用ImageView引起Missing contentDescription attribute on image的问题
- 使用ImageView引起Missing contentDescription attribute on image的问题
- Android使用ImageView引起Missing contentDescription attribute on image的问题
- 使用ImageView引起Missing contentDescription attribute on image的问题
- 使用ImageView引起Missing contentDescription attribute on image的问题
- ImageView引起Missing contentDescription attribute on image的问题
- 关于 Missing contentDescription attribute on image 警告的问题解决
- layout中的xml文件提示Missing contentDescription attribute on image
- [Accessibility] Missing contentDescription attribute on image 安卓问题
- android问题集锦之十八:Missing contentDescription attribute on image
- [Accessibility] Missing contentDescription attribute on image问题
- ImageView提示:[Accessibility] Missing contentDescription attribute on image
- layout中xml文件提示[Accessibility] Missing contentDescription attribute on image
- android学习问题记录(Missing content Description attribute on image)
- 关于警告[Accessibility] Missing contentDescription attribute on image的解决方法
- Android:ImageView引起Missing contentDescription attribute on image 的问题