Imageview imageView = findViewById(R.id.imageView);
imageView.setImageResource(R.drawable.XXX);
Android在java类中动态设置图片
最新推荐文章于 2024-03-21 03:40:17 发布
Imageview imageView = findViewById(R.id.imageView);
imageView.setImageResource(R.drawable.XXX);