B4A Library DashedCircularProgress

Discussion in 'Additional libraries, classes and official updates' started by Johan Schoeman, Jul 18, 2015.

Similar threads

B4A Tutorial [java] Custom View with Designer Support (Java library)
B4A Library CircularProgress
B4A Library PanoramaImageView
B4A Library CircleProgressMaster
B4A Library SnakeView
B4A Library LEDView
  1. Johan Schoeman

    Johan Schoeman Expert Licensed User

    It wraps this Github project. Library files are in the /files folder of the attached B4A project. Copy them to your additional libraries folder. It also uses android-support-v4.jar. You can download it from here - copy it to your additional library folder

    Posting the png files (zipped files) that need to go into the /Files folder of the project separately. Unzip the zipped files containing the various png files and copy the png files into the /Files folder of the B4A project.

    When you start the B4A project you need to add the png files to the project (select tab Files at the bottom right of the IDE and add the "now unzipped" png files that you have copied to the /Files folder to the project.

    Also posting the Java code. Once you have unzipped it you need to copy android-support-v4.jar into the libs folder before you can compile it.


    pic1.png

    dashedcircularprogress
    Author:
    Johan Schoeman
    Version: 1

    • DashedCircularProgress
      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)
      • reset
      Properties:
      • Background As Drawable
      • Color As Int [write only]
      • Duration As Int
      • Enabled As Boolean
      • ExternalColor As Int
      • Height As Int
      • InternalBaseColor As Int
      • Left As Int
      • Max As Float
      • Min As Float
      • ProgressColor As Int
      • Tag As Object
      • TheImage As Bitmap [write only]
      • Top As Int
      • Value As Float [write only]
      • Visible As Boolean
      • Width As Int
     

    Attached Files:

    Last edited: May 23, 2017
    atulindore, Isac, shashkiranr and 7 others like this.
  2. giga

    giga Well-Known Member Licensed User

    Haven't tried it yet but thanks for sharing.
     
  3. ArminKH

    ArminKH Well-Known Member

    great
     
Loading...