B4A Library ExpandedCircleProgressView

It wraps this Github project. The library files are in the /files folder of the attached B4A project. Copy them to your additional Libraries folder.

You will also need android-support-v4.jar (you can download it from here - copy it to your additional libraries folder).

Also posting the Java source code (but without android-support-v4.jar in the ExpandedCircleProgressView/libs folder. You will need to add android-support-v4.jar to the ExpandedCircleProgressView/libs folder in order to compile the java code to a JAR files (should you want to do any changes to the java source code).

sample_animation.gif



pic1.png



expandedcircleprogressview
Author:
Johan Schoeman
Version: 1
  • ExpandedCircleProgressView
    Fields:
    • ba As BA
    Methods:
    • 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)
    • cancelUpdateTask
    Properties:
    • Background As Drawable
    • Color As Int [write only]
    • Enabled As Boolean
    • Height As Int
    • InnerCircleColor As Int [write only]
      Set color of the inner circle
    • InnerCircleSize As Float [write only]
      Set size of the inner circle
    • Left As Int
    • MaxProgress As Int [read only]
      get maximum value of progress
    • OuterCircleColor As Int [write only]
      Set color of the outer circle
    • OuterCircleLineWidth As Float [write only]
      Set width of the outer circle line
    • OuterCircleSize As Float [write only]
      Set size of the outer circle
    • Progress As Int [write only]
      set current progress
    • ProgressColor As Int [write only]
      Set color of circle of expanding progress
    • ProgressTextColor As Int [write only]
      Set color of the progress text
    • Tag As Object
    • TextProgressSize As Float [write only]
      Set size of the progress text
    • Top As Int
    • Visible As Boolean
    • Width As Int
 

Attachments

  • JavaCode.zip
    16.1 KB · Views: 247
  • b4aExpandedCircleProgressView.zip
    23.8 KB · Views: 269

JOTHA

Well-Known Member
Licensed User
Longtime User
Hello Johan,
expandedcircleprogressview Library is missing in the zip-File
 
Top