📌  相关文章
📜  Android 从 Java 代码示例设置 ImageView 源

📅  最后修改于: 2022-03-11 14:52:30.738000             🧑  作者: Mango

代码示例1
ImageView banner = (ImageView)findViewById(R.id.main);
 banner.setBackgroundResource(R.drawable.value);

*****Source StakeOVerFlow*****