Liquid progress within any image.
Progress is shifted sideways by a motion sensor based on the device's orientation, and shaking it creates a very short sine wave.
LoadImage
Load image from assets and prepare grayscale version.
The image is converted to grayscale and then colored back to its original color by calling LiquidProgress.
LiquidProgress
Set the progress (0.0 to 1.0).
The default value is 0.0 to 1.0, but you can multiply by 100 if you want to use a value between 0 and 100.
I've included the example in the aia project.
ProgressCompleted
Triggered when the liquid progress reaches 100% (1.0).
v1.0 Abr 06, 2025.
LiquidProgress.aia (37.7 KB)
joejsanz.joedevliquidprogress.aix (11.8 KB)
JDK: 11
Minimum API Level: 21
Updated On: 2025-04-06T07:00:00Z
Built using: FAST-CLI v2.8.1
Thanks.