android问题集锦之十八:Missing contentDescription attribute on image
2014-01-13 18:28
447 查看
Image相关控件如ImageView和ImageButton都会出现这个警告,对,这只是一个警告。
原因是没有设置contentDescription(为一些没有文字描述的view加上描述)。
具体的好处我还没有完全明晰,希望用过之后会总结一下。
在加上这个属性还有助于代码风格的优雅,比如官方提示的:
原因是没有设置contentDescription(为一些没有文字描述的view加上描述)。
具体的好处我还没有完全明晰,希望用过之后会总结一下。
在加上这个属性还有助于代码风格的优雅,比如官方提示的:
android:contentDescription="@string/desc"
相关文章推荐
- [Android]使用ImageView引起Missing contentDescription attribute on image的问题
- Android使用ImageView引起Missing contentDescription attribute on image的问题
- android学习问题记录(Missing content Description attribute on image)
- 关于main.xml中使用ImageView引起Missing contentDescription attribute on image 的问题
- 使用ImageView引起Missing contentDescription attribute on image的问题
- 去除android ImageView “[Accessibility] Missing contentDescription attribute on image” warning
- 【Android】 使用ADT16出现ImageView Warning:Missing content Description attribute on image
- 关于xml中使用ImageView或ImageButton引起Missing contentDescription attribute on image 的问题
- 使用ImageView引起Missing contentDescription attribute on image的问题
- 关于 Missing contentDescription attribute on image 警告的问题解决
- Android:ImageView引起Missing contentDescription attribute on image 的问题
- 使用ImageView引起Missing contentDescription attribute on image的问题
- 关于main.xml中使用ImageView引起Missing contentDescription attribute on image 的问题
- Android(3)---[Accessibility] Missing contentDescription attribute on image解决办法
- [Accessibility] Missing contentDescription attribute on image问题
- 关于xml中使用ImageView或ImageButton引起Missing contentDescription attribute on image 的问题
- [Accessibility] Missing contentDescription attribute on image 安卓问题
- ImageView引起Missing contentDescription attribute on image的问题
- 去除android ImageView “[Accessibility] Missing contentDescription attribute on image” warning
- 使用ImageView引起Missing contentDescription attribute on image的问题