lottie-react-native icon indicating copy to clipboard operation
lottie-react-native copied to clipboard

The effect of resizeMode='contain' in Android is not equal to iOS

Open jcdhlzq opened this issue 4 years ago • 2 comments

when the property resizeMode is set to contain, the image type is set to CENTER_INSIDE in Android, but it is set to scaleAspectFit, which may cause the different.

Is it better to set the image type FIT_CENTER rather than CENTER_INSIDE in Android ?

jcdhlzq avatar Jul 26 '21 14:07 jcdhlzq

+1 @jcdhlzq It should be FIT_CENTER instead of CENTER_INSIDE.

is there a work around to this?

rishabh876 avatar Sep 09 '21 10:09 rishabh876

+1

clockelliptic avatar Oct 13 '21 16:10 clockelliptic

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 14 '22 07:08 stale[bot]

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

stale[bot] avatar Aug 30 '22 21:08 stale[bot]