mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 01:25:39 +00:00
f68281a0d8
Summary: In Android, Fresco's default rounding corners support mode is BITMAP_ONLY which doesn't work in all cases (such as animated GIF's, some scale types, etc.). Specifying the new "overlayColor" property on an Image will cause Fresco to switch to the other rounding corners mode, OVERLAY_COLOR, and will draw rounded corners by overlaying the solid color specified. Fresco's behaviour is explained here: http://frescolib.org/docs/rounded-corners-and-circles.html Closes https://github.com/facebook/react-native/pull/5366 Reviewed By: svcscm Differential Revision: D2854696 Pulled By: mkonicek fb-gh-sync-id: 251701ee8a64acbfc22694e9d4661c40eef75725