Apologies if this seem trivial.
I have been working on my first android app and would like advise on best way to implement a loading/splash screen attached.
My designer came up with is loading/splash screen and I am not sure how to implement this.
Please note that the bike starts from left and continues to the right with progress indicator and %.
Is option 2 even possible and if yes, could you please point me to any resource I can use as a guide.
Thanks
Go to the activity_main. xml file and refer to the following code. Open the activity_main. xml file and in the ProgressBar tag and set the drawable in indeterminateDrawable attribute.
Android ProgressBar is a graphical view indicator that shows some progress. Android progress bar displays a bar representing the completing of the task. Progress bar in android is useful since it gives the user an idea of time to finish its task.
There are 2 types of progress bars: determinate and indeterminate. The former is used when the amount of information that needs to be loaded is detectable. The latter is used when the system is unsure how much needs to be loaded or how long it will take.
In Android, SeekBar is an extension of ProgressBar that adds a draggable thumb, a user can touch the thumb and drag left or right to set the value for current progress. SeekBar is one of the very useful user interface element in Android that allows the selection of integer values using a natural user interface.
Generally a ProgressBar
is used for purposes like this but I think, you should use a Seekbar cuz of the biker you've in your image. You can achieve this by customising it using different drawables.
Here are some helpful tutorials to help you do that :
Or
You can obviously use a custom ProgressBar as described here :
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With