Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP Hesham Sleem

13th April 2014, 06:52 PM   |  #1  
Hesham Sleem's Avatar
OP Member
Framework-res
Thanks Meter: 67
 
69 posts
Join Date:Joined: Feb 2013
More
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
-----------------------------------------------------------------------------------------------------------
Last edited by Hesham Sleem; 13th April 2014 at 06:55 PM.
The Following 4 Users Say Thank You to Hesham Sleem For This Useful Post: [ View ]
17th April 2014, 05:19 PM   |  #2  
Senior Member
Flag Łódź
Thanks Meter: 177
 
269 posts
Join Date:Joined: May 2013
More
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.
22nd April 2014, 09:14 AM   |  #3  
Senior Member
Flag Skopje
Thanks Meter: 20
 
156 posts
Join Date:Joined: Jan 2013
More
Quote:
Originally Posted by devloz

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
22nd April 2014, 04:32 PM   |  #4  
Senior Member
Flag Łódź
Thanks Meter: 177
 
269 posts
Join Date:Joined: May 2013
More
Hello!

Quote:
Originally Posted by Angryace

its okay he is starting from the slowest to fastest

Bah! You're right.

Best regards.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes