B4J Question ABMaterial spinning circles - some notes

JackKirk

Well-Known Member
Licensed User
Longtime User
I was looking for a way to suppress ABMaterial spinning circles - does not suit my color scheme etc and came across:

https://www.b4x.com/android/forum/threads/abmaterial-6-new-loading-pause-animations-2-50.75656/

While this does not allow you to suppress them, coding something like:
B4X:
    'Making all colors white has effect of producing a blank screen
    'instead of spinning circles when loading etc
    PassedPage.SetLoaderHEARTBEAT(ABM.COLOR_WHITE, ABM.INTENSITY_NORMAL, ABM.COLOR_WHITE, ABM.INTENSITY_NORMAL, ABM.COLOR_WHITE, ABM.INTENSITY_NORMAL, ABM.COLOR_WHITE, ABM.INTENSITY_NORMAL)
makes them invisible.

Also at post https://www.b4x.com/android/forum/t...ading-pause-animations-2-50.75656/post-483454 Woofs suggests:

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

I am using custom components exclusively - there is no "BuildPage" - however I found that if the above code is placed in the ABMComp_Build sub then it works.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…