Missing contentDescription attribute on image
来源:互联网 发布:黑马程序员32期 编辑:程序博客网 时间:2024/05/22 19:27
android开发中在配置文件中使用ImageView有时会引起Missing contentDescription attribute on image.
比如:在main.xml中增加ImageView控件时如果没有加android:contentDescription=”@string/app_name”时会引起Missing contentDescription attribute on image. 主要是因为在main.xml中没有使用TextView之类的文本控件,ADT会提示给像ImageView增加一个说明,这里添加android:contentDescription=”@string/app_name即可,其实加不加影响不大。只是在IDE中会显示一个黄色下划线,不美观。
1 0
- Missing contentDescription attribute on image
- Missing contentDescription attribute on image
- Missing contentDescription attribute on image
- Missing contentDescription attribute on image
- Missing contentDescription attribute on image
- Missing contentDescription attribute on image
- Missing contentDescription attribute on image
- Missing contentDescription attribute on image
- Missing contentDescription attribute on image
- Missing contentDescription attribute on image
- Missing contentDescription attribute on image
- 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
- 高效软文营销写作技巧:产生共鸣方是王道
- 用两个栈模拟队列
- 一起写RPC框架(二十五)RPC测试篇二---服务消费者和服务提供者直连测试
- Matrix原理
- [矩阵乘法]数列
- Missing contentDescription attribute on image
- AndroidStudio Gradle APP打包小技巧
- Android中的普通对话框、单选对话框、多选对话框、带Icon的对话框、以及自定义Adapter和自定义View对话框详解
- 20161012MYSQL密码复杂度设置
- android学习--UI控件
- C++ STL中的vector的内存分配与释放
- 实际用户ID,有效用户ID及设置用户ID详解
- 虚拟机内存
- Yii的类自动加载机制