[Accessibility] Missing contentDescription attribute on image
来源:互联网 发布:开源商城cms 编辑:程序博客网 时间:2024/04/30 15:20
Resolved this warning by setting attribute android:contentDescription for my ImageView
android:contentDescription="@string/desc"
Android Lint support in ADT 16 throws this warning to ensure that image widgets provide a contentDescription
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.
原文链接:http://stackoverflow.com/questions/8500544/android-lint-contentdescription-warning
http://blog.csdn.net/hn307165411/article/details/7179317- [Accessibility] Missing contentDescription attribute on image
- [Accessibility] Missing contentDescription attribute on image
- [Accessibility] Missing contentDescription attribute on image
- [Accessibility] Missing contentDescription attribute on image
- [Accessibility] Missing contentDescription attribute on image
- [Accessibility] Missing contentDescription attribute on image
- [Accessibility] Missing contentDescription attribute on image 解决
- [Accessibility] Missing contentDescription attribute on image
- [Accessibility] Missing contentDescription attribute on image
- [Accessibility] Missing contentDescription attribute on image
- [Accessibility] Missing contentDescription attribute on image
- [Accessibility] Missing contentDescription attribute on image
- [Accessibility] Missing contentDescription attribute on image .
- [Accessibility] Missing contentDescription attribute on image
- [Accessibility] Missing contentDescription attribute on image
- [Accessibility] Missing contentDescription attribute on image!!!
- [Accessibility] Missing contentDescription attribute on image
- [Accessibility] Missing contentDescription attribute on image
- BCB 应用TRegistry读取Python目录
- 接口测试从零开始系列4_junit断言介绍
- 黑马程序员_SQL Server数据的导入小结(1)
- 查询优化
- 开始学习使用Eclipse
- [Accessibility] Missing contentDescription attribute on image
- yii 获取 url action的名字
- 接口测试从零开始系列4_junit断言介绍2
- dhcpcd的静态IP配置方法
- 接口测试从零开始系列4_junit断言介绍3
- 接口测试从零开始5_教你如何使用ibatis
- 设计模式-快餐简解-【代理模式】
- 更新证书错误Code Sign error: Provisioning profile ‘XXXX'can't be found
- 关于checkbox你不得不注意的事情