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

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

JUGGLINGBALLS: 3 balls are juggled around

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

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

B4X:
page.SetLoaderDEVICESWITCH

METALGEARSOLID: 4 squares blur/alpha mimicing a rotation

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

ROTATINGBOXES: 2 sets of boxes move around

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.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…