Android Fresco Show Full Image Without Crop

April 10, 2020
<com.facebook.drawee.view.SimpleDraweeView
    android:id="@+id/imageDraweeView"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    fresco:actualImageScaleType="fitCenter"
    />

Do not use the android:scaleType attribute, nor the .setScaleType method. These have no effect on Drawees.

fitCenter: Scales the image so that it fits entirely inside the parent. One of width or height will fit exactly. Aspect ratio is preserved. The image is centered within the parent’s bounds.

References:

This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.