B4A Library ColoringLoadingView

The attached project wraps this Github project. Library files are in the /files folder of the b4a project. You will need android-support-v4.jar and android-support-annotations.jar to be in your additional library folder. I am not sure what the original author of this Github project had in mind with the project but it seems as if he/she wanted to keep the user busy while some "loading" takes place by giving the user the opportunity to color in some images with a stylus/finger while the "loading" takes place...? Anyhow, here it is - all wrapped up. Posting the B4A project as well as the source code. Change/use it what ever way might suite you.

Lib as it stands at present:

Johan Schoeman
Version: 1
  • ColoringLoadingView
    • ba As BA
    • 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)
    • startDrawAnimation
    • Background As Drawable
    • CanvasColor As Int [write only]
    • Character As String [write only]
    • Color As Int [write only]
    • ColoringColor As Int [write only]
    • Enabled As Boolean
    • Height As Int
    • Left As Int
    • LineColor As Int [write only]
    • Tag As Object
    • Top As Int
    • Visible As Boolean
    • Width As Int



  • ColoringLoadingView.zip
    55 KB · Views: 226
  • src.zip
    33.5 KB · Views: 195