Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Struct LottieResizeMode

sealed struct LottieResizeMode
This sealed struct determines how to resize the lottie animated view when the frame doesn’t match the raw image dimensions.

Fields

Constants

COVER

LottieResizeMode = {0}
Resize the lottie animated view to cover the entire View area.

CONTAIN

LottieResizeMode = {1}
Resize the lottie animated view to fit within the View area.

CENTER

LottieResizeMode = {2}
Resize the lottie animated view to center inside the View area.
Last modified on October 29, 2026