[Galaxy Ace S5830 Themes and Apps] drmjp93:
WELCOME HERE!!!

I PRESENT YOU ALL - HOLO ICS Spinner for ACE/ACE DUOS/Y/Y DUOS And any one with gingerbread.

I am sure 90% This will work on all devices that are running below 4.0.[ICS] , as ics have , but we dont.

credits- i have learned the codes from hyperdroid team for makin the animation smooth for the ginger bread devices.

but then i discovered that why HOLO cant be implemented on our deivces??

i went through the "whatsapp" that had ics holo spinner [ as u have noticed and u loved it!]

READ THE PROCEDURE PROPERLY, Failing to this will cause boot loop. Dont try if are a noob. You should know about compiling process properly.

PRE- REQUIREMENT :​

-rooted

-notepad++

-some knowledge of xml editing to tweak urself

-knowledge of decompile/recompile

-backup current framework-res.apk in case u pushed unproperly compiled apk

-dont forget to copy metainf folder / android manifiest.xml from orignal framework to modded [ using 7.zip ]

-permissions set to rw-r--r-- after pushing

-copy icons to / framework-res/res/drawable-mdpi

--------------------------------------------------------------------------------------------------------------

codes:

open / framework-res/res/drawable/*******_****.xml : [name as below]

--------------------------------------------------------------------------------------------------------------

After opening XML replace whole code with this one . follow in all XMLs.

You have to edit 6 xmls.

progress_large.xml AND progress_large_whie.xml

<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<rotate android:drawable="@drawable/spinner_72_outer_holo" android:fromDegrees="0.0" android:toDegrees="1080.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
<item>
<rotate android:drawable="@drawable/spinner_72_inner_holo" android:fromDegrees="720.0" android:toDegrees="0.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
</layer-list>

progress_medium_xml AND progress_meduim_whie.xml

<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<rotate android:drawable="@drawable/spinner_48_outer_holo" android:fromDegrees="0.0" android:toDegrees="1080.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
<item>
<rotate android:drawable="@drawable/spinner_48_inner_holo" android:fromDegrees="720.0" android:toDegrees="0.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
</layer-list>

progress_small.xml AND progress_small_whie.xml

<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<rotate android:drawable="@drawable/spinner_16_outer_holo" android:fromDegrees="0.0" android:toDegrees="1080.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
<item>
<rotate android:drawable="@drawable/spinner_16_inner_holo" android:fromDegrees="720.0" android:toDegrees="0.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
</layer-list>

Now , Copy the icons attached below to framework-res/res/drawable-mdpi

Now Recompile, AFTER THAT OPEN ORIGNAL AND MODDED [UNSIGNEDXXX.APK] IN 7ZIP AND COPY METAINF FOLDER AND ANDROID MANIFIEST.XML FROM ORIGNAL TO MODDED. Rename the modded.

Push to system / framework/ "here"

Set permissions to rw-r--r-- after pushing

Restart....

----------------------------------------------------------------------------------------------------------------

here ="@drawable/spinner_xx_xxxxx_holo represents :

xx= icon which is to be used ; u can change icons of ur choice and put it here and change the name.

<rotate .../> - tells the icon to be rotated from which degree to which.

This is very simple , and u can change it as according to you.

---------------------------------------------------------------------------------------------------------------

--------------FUTURE UPDATE MAY INCLUDE SMOOTH ANIMATION----------------

I am currently using:

<?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="25" android:framesCount="48"
xmlns:android="http://schemas.android.com/apk/res/android" />

Here -

android:frameDuration="25" android:framesCount="48" - gives smooth animation to ur icons.

for this i will attach the ready made xmls. [NON -HOLO]

This are not holo ; this are the modded for smooth animation and this will not give holo look.

to get holo look u have to use the above codes.

About Attachment - non-holo Those who just want to change icons and smooth animation use xml provided. THOSE WHO WANT REAL ICS SPINNERS , FOLLOW ABOVE PROCESS

If u like my work , share ur click on THANKS ..:fingers-crossed::fingers-crossed::laugh: