Default transformations
suggest changeGlide includes two default transformations, fit center and center crop.
Fit center:
Glide.with(context) .load(yourUrl) .fitCenter() .into(yourView);
Fit center performs the same transformation as Android’s ScaleType.FIT_CENTER.
Center crop:
Glide.with(context) .load(yourUrl) .centerCrop() .into(yourView);
Center crop performs the same transformation as Android’s ScaleType.CENTER_CROP.
For more information, see Glide’s wiki.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents