This library will allow you to customize a Progress Dialog.
Requirements:
- B4A 3.x
How to install:
- Copy the CustomProgressDialog.jar and CustomProgressDialog.xml to your additional libraries directory.
How to use:
That's it!!
The included animations are: Spinner, Laser, Bounce, Domino and Holo.
You can also customize a ProgressDialog with a ProgressBar, look at the attached sample for more details.
NOTE: Updated to version 2.20, added a new animation named "Holo".
Requirements:
- B4A 3.x
How to install:
- Copy the CustomProgressDialog.jar and CustomProgressDialog.xml to your additional libraries directory.
How to use:
B4X:
'Initialize the library
Dim myProgressDialog As CustomProgressDialog
'Create your ProgressDialog
'Leaving the animation parameter blank will display the default spinner.
'Entering -1 on LEFT or TOP parameters will center the CustomProgressDialog
myProgressDialog.Initialize(Activity, 95%x, -1, -1, "", Colors.DarkGray, 0, "")
'Display it
myProgressDialog.Show("Tap the BACK key to stop...", Colors.White)
B4X:
'Hide/Close the CustomProgressDialog
myProgressDialog.Hide
That's it!!
The included animations are: Spinner, Laser, Bounce, Domino and Holo.
You can also customize a ProgressDialog with a ProgressBar, look at the attached sample for more details.
NOTE: Updated to version 2.20, added a new animation named "Holo".
Attachments
Last edited: