摘要:
开发程序时,在main.xml中添加空间ImageButton时会有一下警告:MissingcontentDescriptionattributeonimage起初不知道怎么办后来查了一下文档知道了,官方解释如下:Resolvedthiswarningbysettingattributeandroid:contentDescriptionformyImageViewandroid:contentDescription="@string/desc"AndroidLintsupportinADT16throwsthiswarningtoensurethatimagewidget 阅读全文