egzthunder1 · May 14, 2013 at 04:00 pm

Make Your Taskbar Faster and Smoother

As of late, we at the XDA Portal have been trying to offer an expanded focus on tutorials and teaching materials rather than simply finished applications. There is simply no better way to learn about software development and overall hacking than by doing it yourself. This has fueled some of XDA’s latest moves such as the release of XDA-U as well as the upcoming live event, XDA-DevCon. If you are just getting your feet wet in the development world, you need to start somewhere, regardless of how basic it may seem to some. With this in mind, simple tweaks are a great (and normally safe) thing to try and get going on your device, and the following is no exception.

XDA Forum Member Mr.Nigma… has written up a very nice and easy to follow tutorial on how to speed up the taskbar pull down and up actions, making them smoother and faster. The first thing to know is where to look for such code. There is a wealth of information on AOSP’s main page as well as scattered throughout XDA forums for this, let alone the countless minds on the site that would be glad to help you find things like this. In this particular case, the target is located in SystemUI.apk. Because it is not a simple variable, the code needs to be modified and as such, the APK needs to be cracked wide open (decompiled) with apktool. Once the apk is decompiled, you will need to look for

\SystemUI\res\values. 

Once there, you will look for a .xml file called dimens.xml. These files need to be opened with a text editor such as the native Notepad program present in Windows. Having said that, most devs prefer to use richer apps such as Notepad++.

Once you have the .xml file open, you will need to look for a few lines of code, specifically self_expand_velocity and self_collapse_velocity. These are the lines that command how quickly your bar will go down and up when swiped. These lines have a “stock value” for speed. The higher the value, the faster the animation will be. Mr. Nigma suggests to use a value of over 2000, but your mileage may vary. You may need to play with these until you have it “just right.”

Finally, after you are done with your changes, simply save your changes and recompile it using apktool once again. Once SystemUI.apk is back in one piece, you can adb push it back to your device. You could also turn the APK into a flashable ZIP and flash it via recovery, but doing this takes away the fun of using adb.

As the dev suggests, there are other “fun” things you can do while having SystemUI.apk open. Much like the two lines above, there are various entries that are pretty much self explanatory. Feel free to mess around with it. The worst thing that can happen if you mess something up is that your device will go on a bootloop, in which case you can easily revert back if you have a “stock” copy of your SystemUI to push or a Nandroid backup.

All in all, your devices are open playgrounds for you to get dirty with the sands of code. You should definitely try it; it’s fun! You can find more information in the original thread.

Want something published in the Portal? Contact any News Writer.


_________
Want something on the XDA Portal? Send us a tip!
TAGS:

egzthunder1

egzthunder1 is an editor on XDA-Developers, the largest community for Android users. I have been an active member of xda-developers since 2005 and have gone through various roles in my time here. I am Former Portal Administrator, and currently part of the administrator team while maintaining my writer status for the portal. In real life, I am a Chemical Engineer turned Realtor in the Miami area. View egzthunder1's posts and articles here.
Emil Kako · Jul 1, 2015 at 04:24 pm · 3 comments

What Features Do You Look for in a Gallery App?

With so many different options to choose from, finding the right Gallery app may be a tough thing to do. Google Photos is the latest cloud service/gallery app to attempt to meet all your needs, but is it the best? Let us know what features you look for in a Gallery app, and which one is your favorite in the comments.

DISCUSS
Jack Jennings · Jul 1, 2015 at 03:34 pm · 3 comments

Google Photos ‘Unlimited’ Storage Reportedly Being Capped

When Google Photos was announced, many of us thought very highly of the idea. It seemed like Google had taken what they learned from G+ Photos and added some extra touches to polish the experience, making it something that more people were likely to actually utilize. Now however, the much-lauded 'Unlimited Storage' element may not be quite what it seemed. Here's what we can gather so far...   Reports have come in from multiple G+ and Reddit users who have attempted to back up a...

XDA NEWS
Faiz Malkani · Jul 1, 2015 at 02:22 pm · 4 comments

Sprint Moves to Lift Video Streaming Limit for All-In

Yesterday, Sprint announced a new unlimited scheme that offered customers an $80 bundle, which included a $60 plan for unlimited talk, text and high speed data and a $20 payments towards towards a 24 month phone lease, However, a footnote in the plan stated that video streaming would be limited to 600Kbps for users, and this revelation created a flurry of indignation. In a bid to save face in light of the scores of agitated customers, Sprint published a blog post...

XDA NEWS
Share This