[Framework Mod] Smooth Spinners on the SGS3 [XXALF2]

Search This thread

GadgetCheck

Inactive Recognized Developer
Sep 18, 2010
3,259
5,190
29
Bangalore
checkrom.com
READ BEFORE YOU FLASH ANY THING
History:
Are you annoyed of the loading spinners on ICS??
Yeah those circles that go Round and round!!

Well this is a Mod that will simply increase the speed at with the frames are shown, so giving a feeling of smoothness to the loading circles.

caa49431_241d_2580.jpg


First Thanks to D.O.C who made the first apearence of these spinners on GB in the SGS2 Days.

On the SGS3 also the procedure remains the same.

Files:
The xmls are located at framework-res.apk/res/drawable

This is the list of the xmls to edit
  • progress_large.xml
  • progress_large_white.xml
  • progress_medium.xml
  • progress_medium_white.xml
  • progress_small.xml
  • progress_small_titlebar.xml
  • progress_small_white
  • search_spinner.xml
Depending on the wish of the Developer, you can increase or decrease the Frame Rate of the spinners and get the feel to you liking.

I have kept it to my liking, so if you guys want you can also mod it to what suits you best.

Let me give you an example..

Procedure: progress_large.xml
Default SGS3 code

Code:
<?xml version="1.0" encoding="utf-8"?>
<animated-rotate android:drawable="@drawable/spinner_black_76" android:pivotX="50.0%" android:pivotY="50.0%" android:frameDuration="100" android:framesCount="12"
  xmlns:android="http://schemas.android.com/apk/res/android" />

Mod the Code to
Code:
<?xml version="1.0" encoding="utf-8"?>
<animated-rotate android:drawable="@drawable/spinner_black_76" android:pivotX="50.0%" android:pivotY="50.0%" android:frameDuration="22" android:framesCount="46"
  xmlns:android="http://schemas.android.com/apk/res/android" />

So what do you understand from this??

What you are doing here is simply increasing the frame rate of the spinner png.

(please hit up the source link above to see more info on this regard)

This same technique can also be applied on the ICS holo spinner, that's completely the dev's wish :D
all you have to do is increase the framerate of the holo spinner in the given time.

  • progress_medium_holo
  • progress_small_holo
  • progress_large_holo
Credit:
D.O.C - for sharing
HyperDroid Team - for sharing
Wanam - for ICS Apk Manager
(was implementing this on CheckRom S3, so thought i would share it)

Notice:
  • You need to be rooted.
  • You need to have cwm.
  • This is a framework mod.
  • If you have a theme flashed obviously you will loose it.
  • If you are on Stock Rom, then don't worry about any thing.
  • If your Rom dev has done framework mods too you may loose those mods.
For people on the latest LF2 Stock Rom (Odex or Deodexed) use the CWM Flash able zip Below.

Download:
CWM_SmoothSpinners_LF2.zip
(Give it a few seconds and the Download link will automatically show after a md5 check)
 
Last edited:

kelvinyap9

Senior Member
Mar 30, 2012
141
24
Perth
Thanks for this!
Will flash tonight and see how it goes.

Is it as easy as copy to SDcard, and flashing with CWM (the Chainfire one) or recovery?

Also, I have a feeling I should back up some stuff before doing so. Should I just backup these?:

- progress_large.xml
- progress_large_white.xml
- progress_medium.xml
- progress_medium_white.xml
- progress_small.xml
- progress_small_titlebar.xml
- progress_small_white
- search_spinner.xml

Thanks again!
 

GadgetCheck

Inactive Recognized Developer
Sep 18, 2010
3,259
5,190
29
Bangalore
checkrom.com
Thanks for this!
Will flash tonight and see how it goes.

Is it as easy as copy to SDcard, and flashing with CWM (the Chainfire one) or recovery?

Also, I have a feeling I should back up some stuff before doing so. Should I just backup these?:

- progress_large.xml
- progress_large_white.xml
- progress_medium.xml
- progress_medium_white.xml
- progress_small.xml
- progress_small_titlebar.xml
- progress_small_white
- search_spinner.xml

Thanks again!

not required
 
  • Like
Reactions: kelvinyap9

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    READ BEFORE YOU FLASH ANY THING
    History:
    Are you annoyed of the loading spinners on ICS??
    Yeah those circles that go Round and round!!

    Well this is a Mod that will simply increase the speed at with the frames are shown, so giving a feeling of smoothness to the loading circles.

    caa49431_241d_2580.jpg


    First Thanks to D.O.C who made the first apearence of these spinners on GB in the SGS2 Days.

    On the SGS3 also the procedure remains the same.

    Files:
    The xmls are located at framework-res.apk/res/drawable

    This is the list of the xmls to edit
    • progress_large.xml
    • progress_large_white.xml
    • progress_medium.xml
    • progress_medium_white.xml
    • progress_small.xml
    • progress_small_titlebar.xml
    • progress_small_white
    • search_spinner.xml
    Depending on the wish of the Developer, you can increase or decrease the Frame Rate of the spinners and get the feel to you liking.

    I have kept it to my liking, so if you guys want you can also mod it to what suits you best.

    Let me give you an example..

    Procedure: progress_large.xml
    Default SGS3 code

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <animated-rotate android:drawable="@drawable/spinner_black_76" android:pivotX="50.0%" android:pivotY="50.0%" android:frameDuration="100" android:framesCount="12"
      xmlns:android="http://schemas.android.com/apk/res/android" />

    Mod the Code to
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <animated-rotate android:drawable="@drawable/spinner_black_76" android:pivotX="50.0%" android:pivotY="50.0%" android:frameDuration="22" android:framesCount="46"
      xmlns:android="http://schemas.android.com/apk/res/android" />

    So what do you understand from this??

    What you are doing here is simply increasing the frame rate of the spinner png.

    (please hit up the source link above to see more info on this regard)

    This same technique can also be applied on the ICS holo spinner, that's completely the dev's wish :D
    all you have to do is increase the framerate of the holo spinner in the given time.

    • progress_medium_holo
    • progress_small_holo
    • progress_large_holo
    Credit:
    D.O.C - for sharing
    HyperDroid Team - for sharing
    Wanam - for ICS Apk Manager
    (was implementing this on CheckRom S3, so thought i would share it)

    Notice:
    • You need to be rooted.
    • You need to have cwm.
    • This is a framework mod.
    • If you have a theme flashed obviously you will loose it.
    • If you are on Stock Rom, then don't worry about any thing.
    • If your Rom dev has done framework mods too you may loose those mods.
    For people on the latest LF2 Stock Rom (Odex or Deodexed) use the CWM Flash able zip Below.

    Download:
    CWM_SmoothSpinners_LF2.zip
    (Give it a few seconds and the Download link will automatically show after a md5 check)
    1
    Thanks for this!
    Will flash tonight and see how it goes.

    Is it as easy as copy to SDcard, and flashing with CWM (the Chainfire one) or recovery?

    Also, I have a feeling I should back up some stuff before doing so. Should I just backup these?:

    - progress_large.xml
    - progress_large_white.xml
    - progress_medium.xml
    - progress_medium_white.xml
    - progress_small.xml
    - progress_small_titlebar.xml
    - progress_small_white
    - search_spinner.xml

    Thanks again!

    not required
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone