layout使用ImageView控件里关于contentDescription属性的问题
来源:互联网 发布:经济学研究生知乎 编辑:程序博客网 时间:2024/05/16 19:38
关于xml布局文件中使用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中会显示一个黄色下划线,不美观。
在main.xml中增加ImageView控件时如果没有加android:contentDescription="@string/app_name"时会引起Missing contentDescription attribute on image ,主要是因为在main.xml中没有使用TextView之类的文本控件,ADT会提示给像ImageView增加一个说明,这里添加android:contentDescription="@string/app_name即可,其实加不加影响不大。只是在IDE中会显示一个黄色下划线,不美观。
- layout使用ImageView控件里关于contentDescription属性的问题
- 关于xml中使用ImageView或ImageButton引起Missing contentDescription attribute on image 的问题
- 关于main.xml中使用ImageView引起Missing contentDescription attribute on image 的问题
- 关于main.xml中使用ImageView引起Missing contentDescription attribute on image 的问题
- 关于xml中使用ImageView或ImageButton引起Missing contentDescription attribute on image 的问题
- 使用ImageView引起Missing contentDescription attribute on image的问题
- 使用ImageView引起Missing contentDescription attribute on image的问题
- 使用ImageView引起Missing contentDescription attribute on image的问题
- 使用ImageView引起Missing contentDescription attribute on image的问题
- [Android]使用ImageView引起Missing contentDescription attribute on image的问题
- Android使用ImageView引起Missing contentDescription attribute on image的问题
- 关于android的imagebutton,imageview等无文本控件警告的解决办法//android:contentDescription="@string/desc"
- ImageView控件ScaleType属性的使用
- ImageView引起Missing contentDescription attribute on image的问题
- Android:ImageView引起Missing contentDescription attribute on image 的问题
- ImageVIew.contentDescription
- 关于回调函数里的控件使用问题
- ImageView控件的基本属性
- hdu2197 本源串
- 在Oracle数据库实现自动断开空闲连接
- java 接口的 实例化
- 在Kali Linux上安装cuda、pyrit-cuda以及optimus
- android使用webview上传文件(支持相册和拍照)
- layout使用ImageView控件里关于contentDescription属性的问题
- POJ2348+博弈
- HTMLParser
- ***uva 348 最优数组乘法序列(记忆化搜索+输出路径)
- hdu2197 本源串
- hdu(1276)士兵队列训练问题
- VS2005 编译的exe运行出现 0x00905a4d 处未处理的异常: 0xC0000005: 读取位置 0x00905a4d时发生访问冲突
- HDU 1279 验证角谷猜想
- java发送post和get请求(1)---HttpURLConnection方式