B4A Library [B4X] [XUI] SD LiquidProgress (Bar)

Made entirely with B4X with XUI

SD_LiquidProgress

Author:
Star-Dust
Version: 0.13
  • LiquidProgress
    • Functions:
      • Class_Globals As String
      • DesignerCreateView (Base As Object, Lbl As Label, Props As Map) As String
        Base type must be Object
      • Initialize (Callback As Object, EventName As String) As String
      • Invalidate
      • IsInitialized As Boolean
        Verifica se l'oggetto sia stato inizializzato.
      • Wait (Milliseconds As long)
        Eg. use:
        SD_LiquidProgress1.Wait(2000)
        Sleep(2000)
    • Properties:
      • BackgroundColor As Int
      • BackgroundWaveColor As Int
      • BubbleEffectEnable As Boolean
      • BubbleIntensity As Int [0..255]
      • TextSize As Int
      • TextVisible As Boolean
      • Value As Int
        Value 0 to 100
      • WaveColor As Int
      • CircleLightEffect As Boolean

 

Attachments

  • aSample1.zip
    9.4 KB · Views: 1,171
  • iSample1.zip
    2.7 KB · Views: 480
  • jSample1.zip
    2.4 KB · Views: 532
  • SD_LiquidProgress 0.13.zip
    10.6 KB · Views: 344
  • jSD_LiquidProgress 0.13.zip
    10.8 KB · Views: 282
  • iSD_LiquidProgress 0.13.zip
    98.7 KB · Views: 264
Last edited:

Star-Dust

Expert
Licensed User
Longtime User
Last edited:

Star-Dust

Expert
Licensed User
Longtime User
Update rel 0.02

You can change colors and contains a method to pause the progression but keep the animation.

B4X:
LiquidProgress1.Wait(PauseTime)
Sleep(PauseTime)

 
Last edited:

Star-Dust

Expert
Licensed User
Longtime User
Update rel 0.03

B4X:
LiquidProgress1.TextVisible=False
 
Last edited:

Star-Dust

Expert
Licensed User
Longtime User
thank's
 

IlCasti

Active Member
Licensed User
Longtime User
Hi SD,
text progress size not follow view size.. can you fix this issue?
I like it sooo much, thank you!
 

IlCasti

Active Member
Licensed User
Longtime User
Hi SD,
.ProgressTextVisible = False may seem not working.. text in liquid remain.
Could you check or tell me what i'm doing wrong? --> MY MISTAKE - IT WORKS!!!

Could you also make sure that the flow of the liquid is adapted based on
the size of the view? if the view is too small, liquid is bad to look at, I don't know how to say it

Bye
 

Star-Dust

Expert
Licensed User
Longtime User
Update rel 0.04
 

Star-Dust

Expert
Licensed User
Longtime User
I started working on a version where the view fills with Beer. Very refreshing.
I need to improve the foam ... I'll study it a little bit

Unfortunately, I will not be able to distribute it

 

cliv

Member
Licensed User
Longtime User
Thank you...good work!
Maybe a rectangle or other shape in next update...
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…