B4A Library NumberProgressBar

It wraps this Github project. Library files are in the /files folder of the B4A project. Copy them to your additional library folder. Also posting the java code should anyone want to amend it.

2.gif

1.png



As it stands at present:
numberprogressbar
Author:
Johan Schoeman
Version: 1
  • NumberProgressBar
    Fields:
    • ba As BA
    Methods:
    • AddToParent (Parent As ViewGroup, left As Int, top As Int, width As Int, height As Int)
    • BringToFront
    • DesignerCreateView (base As PanelWrapper, lw As LabelWrapper, props As Map)
    • Initialize (EventName As String)
    • Invalidate
    • Invalidate2 (arg0 As Rect)
    • Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
    • IsInitialized As Boolean
    • RemoveView
    • RequestFocus As Boolean
    • SendToBack
    • SetBackgroundImage (arg0 As Bitmap)
    • SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)
    • SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
    • SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)
    • SetVisibleAnimated (arg0 As Int, arg1 As Boolean)
    • incrementProgressBy (by As Int)
    Properties:
    • Background As Drawable
    • Color As Int [write only]
    • Enabled As Boolean
    • Height As Int
    • Left As Int
    • Max As Int
    • Prefix As String
    • Progress As Int
    • ProgressTextColor As Int [write only]
    • ProgressTextSize As Float
      Get progress text size.
    • ReachedBarColor As Int
    • ReachedBarHeight As Float
    • Suffix As String
    • Tag As Object
    • TextColor As Int [read only]
      Get progress text color.
    • Top As Int
    • UnreachedBarColor As Int
    • UnreachedBarHeight As Float
    • Visible As Boolean
    • Width As Int
 

Attachments

  • b4aNumberProgressBar.zip
    25.6 KB · Views: 476
  • src.zip
    8 KB · Views: 432

Johan Schoeman

Expert
Licensed User
Longtime User
Top