FORUMS
Remove All Ads from XDA

[MOD][Xposed] Smooth System Progress Bars

511 posts
Thanks Meter: 350
 
By Typhus_, Senior Member on 26th October 2013, 12:45 AM
Post Reply Email Thread
Requires Xposed Framework!

Hello!

Circular feature is now working

I've managed to update MohammadAG's module.

Tested it on devices running Android 4.2.1, 4.2.2, 4.4.2 and 5.0.1 by myself. Received reports it works also on ICS (thank you @Prasad98) on Marshmallow (thank you @frankie1220) and even on Oreo!

And so, this module should work on any device running from ICS to Oreo. Yes, the module is working on Oreo (resource replacement, on Xposed Installer, needs to be active or it won't work on devices running Lollipop or later ROMs).

Please make sure to have your system animations speed set to 1x (system settings, not the module settings...).

Download the module latest version from HERE

This mod is open source!
You may NOT distribute this app on the Play Store, paid or free.
Source code available -> HERE

Earlier Versions:


Version 1.4.7 - Available HERE
Version 1.4.6 - Available HERE
Version 1.4.5 - Available HERE
Version 1.4.4 - Available HERE
Version 1.4.3 - Available HERE
Version 1.4.2 - Available HERE
Version 1.4.1 - Available HERE
Version 1.4.0 - Available HERE


Changelog:


Version 1.5.0:
  • Completely new app look with new features:
    1. Separate customization for both horizontal and circular MODs
    2. Navigation drawer for switching between layouts
  • Added factor speed on circular interpolator customization
  • Added style feature on circular MOD

Version 1.4.7:
  • Invalid color detection on apply button
  • Updated center color on color picker activity
  • New custom checkboxes
  • Themed white settings
  • Removed text box focus at color picker activity start
  • Updated Russian translation (thanks to GromozavrStas)

Version 1.4.6:
  • Added settings:
    1. Enable/Disable horizontal MOD
    2. Enable/Disable circular MOD
    3. Hide app icon on the launcher
  • Updated translations

Version 1.4.5:
  • Added gradients feature
  • Synced all java classes with Castorflex's "dev" branch

Version 1.4.4 :
  • Circular glitches fix (hopefully for good)
  • Added Hungarian translation (thanks to szunyi77)
  • Updated Russian translation (thanks to GromozavrStas)

Version 1.4.3 :
  • Updated French translation (thanks to @Micks29)
  • Added Russian translation (thanks to GromozavrStas)
  • Themed seekbars for non Lollipop devices

Version 1.4.2 :
  • Material Design
  • Custom Buttons with Ripple Effect
  • Fixed layouts (in order to enable compatibility to any device running on any android version and with any density)

Version 1.4.1 :
  • Lollipop fully compatible
  • Fixed sections count increment by 1 every time the user saved it's last sections count number and reopened the app

Version 1.4.0 :
  • Circular progress bar added and working
  • Lollipop capable
  • Color text tips improved
  • Added French, Spanish, Italian and Portuguese translations
  • App appears on the drawer



Video preview:
(from version 1.4.0)


Colors used on video example: #3e802f | #427fed | #b23424 | #f4b400


How does this module work?

This modules hooks into android progressbar class, then it looks for the drawable used for it's indeterminate state.

From ICS to KK, if the drawable type is AnimationDrawable, it means that the indeterminate progressbar is horizontal, therefore it get's the default drawable replaced by an user customized instance of Castorflex's smoothprogressdrawable. On the other hand, if the drawable type is AnimatedRotateDrawable (the Gingerbread ones...) or LayerDrawable (ICS+), it means the indeterminate progressbar is circular, therefore it get's the default drawable replaced by an user customized instance of Castorflex's circularprogressdrawable.

On Lollipop, both progressbars (horizontal and circular) use AnimatedVectorDrawable type. And so, since I could not distinguish which progressbar I could replace the drawable, I've made a workaround using Xposed resource replacement feature. And so, on Lollipop, all drawables used for progressbar bars are replaced by the ones used on ICS+. By doing this, the module is now able to distinguish which progressbar is called by the system and it then overrides the drawable using the same criteria I've mentioned above.

Having this said, and since all is being hooked into the default android AOSP code, if a device has a lot of modifications introduced by it's manufacturer, it may cause this module to not work flawlessly.

All devices I've came across are very close to AOSP ROMs, and so, in order to get this 100% on all manufacturers it would imply a lot of testing and debugging for each manufacturer.


Credits:


@rovo89 -> For Xposed Framework and Xposed Development Tutorial. If it wasn't him, nothing like this would be possible. So, you ROCK bro!!
@hamzahrmalik -> For [TUTORIAL]Xposed module devlopment
@MohammadAG -> For the original module
@Castorflex -> For Smooth Progress Bar library.
@C3C076 -> For GravityBox and it's available source code. I've learned a lot from that.
LarsWerkman -> For Android Holo ColorPicker
Balys Valentukevicius-> For Material Ripple Layout
XDA and specially "XDA-University" -> I've learned a lot here. Thanks to all members who dedicate themselves on their spare time to share their knowledge.
@b16h22 -> For [CM11][PA][MAHDI][THEME] L-Kat/L-Kat Dark [6.0]. This app custom checkboxes were taken from his theme.
@polishchocolate -> For [THEME][CM11/PA][24 OCT] Lollipop Themes v4.0 (Android L Style). This app custom seekbars were taken from his theme.
Pedro Oliveira-> For Android-studio-material-template

And, last but not least...

Me -> Up until 2 months ago (more or less) I've never seen Java nor Xposed "insides". Nevertheless, if there's one thing I've learn on XDA is that we all can contribute if we are willing to learn. And that's exactly what I've done. I've learned everything by myself simply by following tutorials and the source codes everyone, mentioned before, was kind enough to distribute. So, yeah, I think I deserve some credits as well...that, and a beer.


PLEASE READ THIS IF YOU'RE COMING FROM VERSION 1.3.*:

You won't be able to update mohammadag previous module version, nor install over it since the signature is different.

And so, if you're currently using mohammadag's version (Versions 1.3.* and bellow still available for download on Xposed Framework download feature) you must:

1 - Disable the current module version on Xposed Framework.
2 - Uninstall previous version
3 - Reboot
4 - Install new version
5 - Activate and reboot


Older version and original post (by MohammadAG):

This module replaces the default ProgressBar indeterminate animation with a much smoother one.
No videos or screenshots, try and you'll see the difference.

Compatibility:
Tested on 4.2.2, may probably work everywhere else.

Source:
The mod is open source: https://github.com/MohammadAG/Xposed-SmoothProgressBar
You may NOT distribute this app on the Play Store, paid or free.

Download:
http://dl-count.xposed.info/modules/..._v2_f69025.apk

Thanks to:
castorflex for his SmoothProgressBar, this uses a huge part of it.
The Following 26 Users Say Thank You to Typhus_ For This Useful Post: [ View ] Gift Typhus_ Ad-Free
 
 
5th December 2013, 07:03 PM |#2  
AndroGuru's Avatar
Senior Member
Flag Lucknow
Thanks Meter: 33
 
More
Thanks. Will check and post.
5th December 2013, 07:03 PM |#3  
mauam's Avatar
Senior Member
Thanks Meter: 11,731
 
More
Awesome mod, as always
5th December 2013, 08:15 PM |#4  
AndroGuru's Avatar
Senior Member
Flag Lucknow
Thanks Meter: 33
 
More
Quote:
Originally Posted by AndroGuru

Thanks. Will check and post.

Edit...
Awesome Mod @MohammadAG Keep up the good work. Any way one can choose from the different types according to one's liking?
5th December 2013, 09:30 PM |#5  
ahrion's Avatar
Retired Forum Moderator / Recognized Developer
Thanks Meter: 5,091
 
More
@MohammadAG keep it up man!

Sent from my LG-E980 using Tapatalk
6th December 2013, 01:21 AM |#6  
Member
Thanks Meter: 3
 
More
Sorry. Can you point me to where I can see the effect. I m on kitkat 4.4. Been searching but not sure what to look at
6th December 2013, 01:59 AM |#7  
Metallijim's Avatar
Senior Member
Flag Bedford
Thanks Meter: 1,078
 
Donate to Me
More
Quote:
Originally Posted by stagius24

Sorry. Can you point me to where I can see the effect. I m on kitkat 4.4. Been searching but not sure what to look at

Download something from play store.

Sent from Z Beast
The Following User Says Thank You to Metallijim For This Useful Post: [ View ] Gift Metallijim Ad-Free
6th December 2013, 02:09 AM |#8  
Account currently disabled
Flag Kepler-34b
Thanks Meter: 5,679
 
More
Someone should make a gif (that's partially a joke)

Sent from my C6833 using Tapatalk
The Following User Says Thank You to LordManhattan For This Useful Post: [ View ] Gift LordManhattan Ad-Free
6th December 2013, 03:32 AM |#9  
Member
Thanks Meter: 6
 
More
Thumbs up
Looking good.

Cheers
6th December 2013, 06:05 AM |#10  
Account currently disabled
Rotterdam
Thanks Meter: 7
 
Donate to Me
More
What will this mod do?
Can someone make a screenshot

Sent from my GT-I9505 using Tapatalk
6th December 2013, 06:34 AM |#11  
AndroGuru's Avatar
Senior Member
Flag Lucknow
Thanks Meter: 33
 
More
@ All

Here is the screenshot. Notice the different progress bar while downloading. This is what this mod does.
The Following 7 Users Say Thank You to AndroGuru For This Useful Post: [ View ] Gift AndroGuru Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes