setImageResource与xml中的src的属性相匹配,setBackgroundResource是与xml中的background属性相匹配的。
setImageResourse 与 setBackgroundResourse 的区别
推荐阅读
- SpringSecurity自定义跳转路径验证token
- VS2019安装闪退, 不出现安装界面,解决办法
- Spring出现事务代理的原因
- 出错: IOException parsing XML document from ServletContext resource [/cn.mgy.conig]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/cn.mgy.conig]
- 关于 Spring 的示例
- 错误:Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.7:resources (default-resources) on project sea rch-zk-increment-monitor: Mark invalid -> [Help 1]
- 关闭win10的自动更新功能
- SpringBoot、SpringCloud版本中GA/PRE/SNAPSHOT的详解
- select2的学习和jqgrip的学习
- Spring拦截器中@Value无效的解决办法