I have an ImageView
and I need to load jpg
image from SD card into this view. I have following code:
mImageView.setImageBitmap(SDCardUtilities.getBitmapFromSDCard(item));
getBitmapFromSDCard
is my function that only make Bitmap
from file on sdcard. But often an image is small and doesn't fill the ImageView
fully. How can I stretch the image that it will be fill whole ImageView
?