B4J Tutorial [ABMaterial] 6 new loading/pause animations (2.50)

I had the question a couple of times to make some more animations (like the spinning circles) available for when the page is loading, or when the app is paused. So here they are:

JUMPINGBALL: ball next to some text jumps up and down
upload_2017-1-27_10-54-8.png

B4X:
page.SetLoaderJUMPINGBALL(ABM.COLOR_BLACK, ABM.INTENSITY_NORMAL, ABM.COLOR_WHITE, ABM.INTENSITY_NORMAL, "NOW LOADING")

JUGGLINGBALLS: 3 balls are juggled around
upload_2017-1-27_10-54-17.png

B4X:
page.SetLoaderJUGGLINGBALLS(ABM.COLOR_LIGHTBLUE, ABM.INTENSITY_NORMAL, ABM.COLOR_ORANGE, ABM.INTENSITY_NORMAL, ABM.COLOR_PURPLE, ABM.INTENSITY_NORMAL,ABM.COLOR_LIGHTBLUE, ABM.INTENSITY_NORMAL, ABM.COLOR_ORANGE, ABM.INTENSITY_NORMAL, ABM.COLOR_PURPLE, ABM.INTENSITY_NORMAL)

HEARTBEAT: A moving life line
upload_2017-1-27_10-54-24.png

B4X:
page.SetLoaderHEARTBEAT(ABM.COLOR_GREY, ABM.INTENSITY_NORMAL, ABM.COLOR_BLACK, ABM.INTENSITY_NORMAL,ABM.COLOR_GREY, ABM.INTENSITY_NORMAL, ABM.COLOR_WHITE, ABM.INTENSITY_NORMAL)

DEVICESWITCH: morphes between a phone, tablet and desktop icon
upload_2017-1-27_10-54-33.png

B4X:
page.SetLoaderDEVICESWITCH

METALGEARSOLID: 4 squares blur/alpha mimicing a rotation
upload_2017-1-27_10-54-42.png

B4X:
page.SetLoaderMETALGEARSOLID(ABM.COLOR_BLACK, ABM.INTENSITY_NORMAL, ABM.COLOR_WHITE, ABM.INTENSITY_NORMAL)

ROTATINGBOXES: 2 sets of boxes move around
upload_2017-1-27_10-54-50.png

B4X:
page.SetLoaderROTATINGBOXES(ABM.COLOR_LIGHTBLUE, ABM.INTENSITY_NORMAL, ABM.COLOR_RED, ABM.INTENSITY_NORMAL,ABM.COLOR_LIGHTBLUE, ABM.INTENSITY_NORMAL, ABM.COLOR_RED, ABM.INTENSITY_NORMAL)
 
Last edited:

Woofs

New Member
Licensed User
Longtime User
FYI:

For these to work properly, you need to place them in the "BuildPage" sub routine.

T.
 
Top