B4A Library B4XLib 100% B4X code to animate your layout.

Hi, this B4Xlib animates your layout . views falls from to top to their initials position

The B4XLib and 2 sample projects (B4J and B4A) are attached to this post. Should be OK with B4I

The animation use a Cubic Bezier Curve for 'elastic' effect

spsp
 

Attachments

Hi,

Update.

You can now add many animations with a single instance.

Code: Copy
Private fd As cFallingDown

Code: Copy
fd.Initialize(Root,1000,50)

Code: Copy
    fd.add(fPane1,1000,50)
    fd.add(fPane2,1000,50)

Code: Copy
    wait for (fd.run) complete (n As Int)
    'n is the number of view that fall down

attached files in Post #1 updated

spsp
 
Back
Top