在使用ImageView控件的时候会出现Missing contentDescription attribute on image警告信息,如果使用android:contentDescription="@string/。。。"则警告消失,如果不需要此提示信息可以通过设置去除 设置步骤如下:

Window——Preference——Android——Lint Error Checking在Issues中输入contentDescription可以把Warning设置为Ignore即可

Android使用ImageView引起Missing contentDescription attribute on image的问题_第1张图片

更多相关文章

  1. Android--EditText控件属性汇总
  2. Android 下拉刷新控件的使用
  3. Android从入门到放弃——常见控件二
  4. Android FloatingActionButton控件
  5. Android图片轮播控件---com.youth.banner.Banner
  6. Android 自动化测试—robotium(三)EditText控件
  7. Android快速开发框架Android_BaseLib,集成了常用工具类,自定义View

随机推荐

  1. Android 水平的ListView
  2. AndroidStudio 编译项目报错 Android(安
  3. android view子类的构建
  4. android里图片下载工具类AsyncImageLoade
  5. Android状态栏通知
  6. android蓝牙开发入门到精通4------通信标
  7. Android Service学习之IntentService 深
  8. Android手机号、串号获取
  9. android获取屏幕的宽高
  10. Android获取手屏幕尺寸