Bitmap bit = BitmapFactory.decodeFile("sdcard中图片路径"); Drawable drawable = new BitmapDrawable(bit); imageSwitcher.setBackgroundDrawable(drawable);
Bitmap bit = BitmapFactory.decodeFile("sdcard中图片路径"); Drawable drawable = new BitmapDrawable(bit); imageSwitcher.setBackgroundDrawable(drawable);