ImageView's ScaleType in Android has 8 selectable options
1 matrix does not scale the picture, the original image from the upper left corner of the view to draw pictures (picture does not distort);
2 Fitxy the picture into the view, but the picture will be distorted; (picture distorted, full view)
3 Fitstart, Fitcenter, fitend three properties Select the long edge of the picture to scale the image, and because of this, the picture is not fully filled with the view, except that the image is drawn in the view with different anchor points; cannot be filled with view)
4 Center does not scale the image processing, select the view and the center of the image to draw; (picture does not distort)
5 Centercrop will ensure that the image is full of view, so the shorter edge of the image will be selected as the benchmark for scaling; (picture is not distorted, full view)
6 centerinside Ensure that the picture is displayed in the middle of the view, when the picture is larger than the view, it will select the long edge of the picture to reduce the image, when the image width is higher than the view, the picture is displayed directly in the middle of the view. (Picture not deformed)
Android Summary of the ImageView ScaleType properties