It wraps part of this Github project. Library files are in the /files folder of the B4A project. Copy them to your additional library folder. Posting the zipped B4A project as well as the Java source code. It fades the pics in as the progress indictors run around the pics. You can also choose the pics to be faded in with a Grayscale version of the pics.
Amend/change it what ever way you like.
The lib as it stands at present:
SquareProgressBar
Author: Johan Schoeman
Version: 1
Amend/change it what ever way you like.
The lib as it stands at present:
SquareProgressBar
Author: Johan Schoeman
Version: 1
- SquareProgressBar
Fields:- 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)
- isCenterline As Boolean
- isClearOnHundred As Boolean
- isIndeterminate As Boolean
- isOpacity As Boolean
- isOutline As Boolean
- isShowProgress As Boolean
- isStartline As Boolean
- setColorRGB_1 (r As Int, g As Int, b As Int)
- setOpacity_2 (opacity As Boolean, isFadingOnProgress As Boolean)
- Background As Drawable
- BorderWidth As Int [write only]
- ClearOnHundred As Boolean [write only]
- Color As Int [write only]
- ColorRGB_2 As Int [write only]
- Color_1 As String [write only]
- DrawCenterline As Boolean [write only]
- DrawOutline As Boolean [write only]
- DrawStartline As Boolean [write only]
- Enabled As Boolean
- Height As Int
- ImageBitmap As Bitmap [write only]
- ImageGrayscale As Boolean [write only]
- Indeterminate As Boolean [write only]
- Left As Int
- Opacity_1 As Boolean [write only]
- Progress As Double [write only]
- ShowProgress As Boolean [write only]
- Tag As Object
- Top As Int
- Visible As Boolean
- Width As Int
Attachments
Last edited: