0
我已经在SD卡中保存了一个透明的PNG图像。我想要显示的是现在。我正在使用follwing代码。来自Android的SD卡的PNG图像显示
selected_photo = (ImageView) findViewById(R.id.selected_photo);
Uri photoUri = Uri.parse(photoPath);
selected_photo.setImageBitmap(MediaStore.Images.Media.getBitmap(getContentResolver(),photoUri));
但它是给一个不透明的图像显示。如何显示PNG图像而不失去透明度?
没有在我的情况下工作。 – Abhishek 2016-05-09 10:24:04