I searched for this question, but did not like to answer for me.
This is mine ImageView:

And this is this ImageView in xml:
<ImageView
android:id="@+id/stock_cover"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:src="@drawable/place_holder16_9" />
How can I scale this image, for example, on an image?
PS This image is downloaded from the Internet.
UPD 1. Added ImageLoader code.
DisplayImageOptions options = new DisplayImageOptions.Builder()
.showImageForEmptyUri(R.drawable.place_holder16_9)
.cacheInMemory(true)
.cacheOnDisk(true)
.build();
ImageLoader.getInstance().displayImage(promo.getImageBigUrl(), mCoverImageView, options);
source
share