[PAID] Advance Lottie Animation Extension - Custom Layer Coloring Option, Offline/Online Lottie Animation

:rocket: LottieAnimation - Offline/Online - Play animation using raw json, asset or url

An extension for MIT App Inventor, Kodular, Niotron & All AI2 Based No-code App Builders.
Supports loading from URL, assets, or raw JSON text. Works in Companion and APK on Android 5.0+.

:pencil: Extension Details


:package: Package: com.lottieanimation.ext
:package: Lottie SDK Version: 6.7.1
:floppy_disk: Size: 609.00 KB
:mobile_phone: Minimum API Level: 21
:date: Updated On: 2026-07-17
:laptop: Built using: AIXER

:backhand_index_pointing_right: Trial Extension and AIA included.

:pencil: Extension Features

  • Online/Offline Lottie Animation
  • Modern Compressed Lottie Files Support
  • Custom Choice Colors Modification Using Layer Filter Method
  • Companion App Supported
  • Load Lottie From Raw JSON Text, Asset or URL

Events:

LottieAnimation has total 6 events.

:mobile_phone: ArrangementRegistered

Fired when the arrangement has been registered and the view is ready.

:mobile_phone: AnimationLoaded

Fired when the animation has been loaded and is ready to play.

:mobile_phone: AnimationStarted

Fired when the animation starts playing.

:mobile_phone: AnimationEnded

Fired when the animation finishes playing (one iteration, not applicable if looping).

:mobile_phone: AnimationLooped

Fired each time the animation loops (when Loop is enabled).

:mobile_phone: AnimationError

Fired when the animation fails to load with an error message.

Parameter Type
message text

Methods:

LottieAnimation has total 24 methods.

:+1: RegisterArrangement

Register an arrangement (HorizontalArrangement or VerticalArrangement) to host the Lottie animation.

Parameter Type
arrang any

:+1: ShowFromJson

Load and play a Lottie animation from a raw JSON text string.

Parameter Type
jsonText text

:+1: ShowFromUrl

Load and play a Lottie animation from a URL.

Parameter Type
urlString text

:+1: ShowFromAssets

Load and play a Lottie animation from an asset file (e.g. animation.json).

Parameter Type
filename text

:+1: Play

Start or resume the animation.

:+1: Pause

Pause the animation at the current frame.

:+1: Stop

Stop the animation and reset to the first frame.

:+1: SetProgress

Set the animation progress to a specific fraction (0.0 to 1.0).

Parameter Type
progress number

:+1: SetFrame

Jump to a specific frame number. Animation will pause at that frame. Use GetTotalFrames to know the valid range.

Parameter Type
frame number

:+1: SetMinFrame

Set the minimum frame for playback. The animation will only play frames from this value onward.

Parameter Type
frame number

:+1: SetMaxFrame

Set the maximum frame for playback. The animation will only play frames up to this value.

Parameter Type
frame number

:+1: SetMinProgress

Set the minimum progress (0.0 to 1.0) for playback. The animation will only play from this progress point.

Parameter Type
progress number

:+1: SetMaxProgress

Set the maximum progress (0.0 to 1.0) for playback. The animation will only play up to this progress point.

Parameter Type
progress number

:+1: GetDuration

Returns the total duration of the animation in milliseconds.

:+1: GetCurrentFrame

Returns the current frame number of the animation.

:+1: GetTotalFrames

Returns the total number of frames in the animation.

:+1: SetColorFilter

Set a color filter on the animation using a color from the Colors drawer and an opacity percentage (0 = transparent, 100 = fully opaque).

Parameter Type
argbColor number
opacityPercent number

:+1: SetLayerColorFilter

Set a color filter on a specific layer by name. Use GetLayerNames to discover layer names in your animation.

Parameter Type
layerName text
argbColor number
opacityPercent number

:+1: GetLayerNames

Returns a comma-separated list of layer names in the loaded animation. Use these names with SetLayerColorFilter.

:+1: ClearLayerColorFilter

Remove the color filter from a specific layer by name.

Parameter Type
layerName text

:+1: ClearColorFilter

Remove all applied color filters from the entire animation.

:+1: SetScale

Scale the animation view by a multiplier. 1.0 is original size, 2.0 is double, 0.5 is half.

Parameter Type
scale number

:+1: SetRepeatMode

Set the repeat mode. 1 = RESTART (starts over), 2 = REVERSE (plays backward on repeat). Only applies when Loop is enabled.

Parameter Type
mode number

:+1: Remove

Remove the Lottie animation view from the arrangement.

Properties:

LottieAnimation has total 4 properties.

:blue_heart: Loop

Whether the animation should loop continuously.

Property Type Default
Loop boolean

:blue_heart: Speed

The playback speed multiplier. 1.0 is normal speed. 2.0 is double speed. 0.5 is half speed.

Property Type Default
Speed number

:blue_heart: AutoPlay

Whether the animation should start playing automatically after loading.

Property Type Default
AutoPlay boolean

:blue_heart: ScaleType

How the animation image fits within its container. 0=FIT_CENTER, 1=CENTER_CROP, 2=CENTER_INSIDE, 3=FIT_XY.

Property Type Default
ScaleType number

Need any specific method/event to be added into this extension? please inform via DM.

Watch Demo Video:https://www.youtube.com/watch?v=e3IhACJhD-g

Trial Extension:
LottieAnimation.aix (606.0 KB)

Price: $ 5
Purchase Licensed Extension

Bharat Technologies :gorilla:
(Extensions - Apps - Programs Developer)