В чем разница между типами шкал CENTER_INSIDE и FIT_CENTER?

Я не могу сказать разницу междуImageView.ScaleType.CENTER_INSIDE а такжеImageView.ScaleType.FIT_CENTER.

CENTER_INSIDE

Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or less than the corresponding dimension of the view (minus padding).

FIT_CENTER

Compute a scale that will maintain the original src aspect ratio, but will also ensure that src fits entirely inside dst. At least one axis (X or Y) will fit exactly. The result is centered inside dst.

Может кто-то осветить разницу между ними?

Ответы на вопрос(3)

Ваш ответ на вопрос