We’ve all pretty much gotten used to the standard Android navigation bar setup, which is normally any permutation of a back, home, and recent apps buttons. This generally features the home button right in the middle between the other two. But what about the power and menu buttons? Surely, they’re just as commonly accessed to warrant a place on the convenient navigation bar, right?
Well, XDA Senior Member Rajeev seems to think so. And as a result, he wrote a great tutorial on how to add both the power and lock buttons to the navigation bar of the Sony Xperia Z. The process is very simple, consisting of decompiling the SystemUI.apk, moving the provided images to the designated folder, adding and removing lines of code in a couple XML files, and finally recompiling it all back together into an APK and signing it off.
By default, you’ll end up with a navigation bar with all five buttons in the order of back, home, menu, lock, and recent apps, but switching the order up is just a easy. As explained by Rajeev further on in the thread, all you have to do is rearrange the order of the codes for these buttons in whichever way you like.
Any Xperia Z user who has either the official Android 4.1.2, 4.2.2, or 4.3 firmware running on their device will be able to follow the tutorial, although it may be possible for owners of similar Xperia devices to do so as well. If you would like to learn more, check out the original thread for more information._________