vikramkakkar/ImageTransition

Fit_Center not supported

Opened this issue · 2 comments

I am using fit_center in my imageview scaleType but it throw error like

IllegalArgumentException: ScaleType FIT_CENTER not supported. Could you provide me solution with fit_center

This is a limitation imposed in one of this library's dependencies: CircleImageView. The specific code that enforces this limitation can be found here: CircleImageView.setScaleType(ScaleType).

I'll leave this open and check if support for ScaleType.FIT_CENTER can be added.

kal4l commented

Would like to see support for ScaleType.FIT_CENTER added as well.