Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,805,635 Members 38,837 Now Online
XDA Developers Android and Mobile Development Forum

10 speed's level for Window & Transitions animation instead of “Slow-Normal-Fast-Very

Tip us?
 
Hesham Sleem
Old
(Last edited by Hesham Sleem; 13th April 2014 at 05:55 PM.)
#1  
Hesham Sleem's Avatar
Member - OP
Thanks Meter 20
Posts: 53
Join Date: Feb 2013
Location: Framework-res
Lightbulb 10 speed's level for Window & Transitions animation instead of “Slow-Normal-Fast-Very

Do you want to have 10 speed's level for Window & Transitions animation instead of “Slow-Normal-Fast-Very fast”
i have applyed this method on Lidroid-Parts.apk only but maybe it is same in other app like SpareParts.apk

Quote:
Requirements :
-APK Maneger
-Notepad++
-Brain
Let's go
1- Decompile “Lidroid-Parts.apk” (you can find it in “system\app”) with APKManeger
2- Go to “res\values”
3- Open “arrays.xml” with Notepad++
4- Find this
Code:
   <string-array name="animation_entries">
        <item>Off</item>
        <item>Fast</item>
        <item>Normal</item>
        <item>Slow</item>
        <item>VerySlow</item>
    </string-array>
    <string-array name="animation_values">
        <item>0.0</item>
        <item>0.5</item>
        <item>1.0</item>
        <item>1.5</item>
        <item>2.0</item>
    </string-array>
5- Replace with :
Code:
<string-array name="animation_entries">
        <item>Off</item>
        <item>1 (Slowest)</item>
        <item>2</item>
        <item>3</item>
        <item>4</item>
        <item>5</item>
        <item>6</item>
        <item>7</item>
        <item>8</item>
        <item>9</item>
        <item>10 (Fastest)</item>
    </string-array>
    <string-array name="animation_values">
        <item>0.0</item>
        <item>5.0</item>
        <item>4.5</item>
        <item>4.0</item>
        <item>3.5</item>
        <item>3.0</item>
        <item>2.5</item>
        <item>2.0</item>
        <item>1.5</item>
        <item>1.0</item>
        <item>0.5</item>
    </string-array>
6- Recompile the apk
7- push it in "system\app"
8- Enjoy
-----------------------------------------------------------------------------------------------------------
The Following 2 Users Say Thank You to Hesham Sleem For This Useful Post: [ Click to Expand ]
 
devloz
Old
#2  
Senior Member
Thanks Meter 146
Posts: 193
Join Date: May 2013
Hello!

Small, good thing, but shouldn't it be reversed?

Quote:
0.0
0.5
1.0
1.5
.....
5.0
It will be more practical and logical.

Best regards.
 
Angryace
Old
#3  
Senior Member
Thanks Meter 20
Posts: 154
Join Date: Jan 2013
Location: Skopje
Quote:
Originally Posted by devloz View Post
Hello!

Small, good thing, but shouldn't it be reversed?



It will be more practical and logical.

Best regards.
its okay he is starting from the slowest to fastest
 
devloz
Old
#4  
Senior Member
Thanks Meter 146
Posts: 193
Join Date: May 2013
Hello!

Quote:
Originally Posted by Angryace View Post
its okay he is starting from the slowest to fastest
Bah! You're right.

Best regards.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes