android studio设置imageview显示图片
拖动imageview 选择图片 .png
代码引用:
private Imageview pay;
pay = (ImageView)findViewById(R.id.imageView2);
pay.setImageResource(R.drawable.pay);
拖动imageview 选择图片 .png
代码引用:
private Imageview pay;
pay = (ImageView)findViewById(R.id.imageView2);
pay.setImageResource(R.drawable.pay);