Change layout of software buttons on home screen I have a China-branded tablet running Android 4.2. The tablet has the "new" Jellybean 4.2 home screen button layout where the software buttons are centered on the screen, rather than aligned left as in common desktop operating systems such as Windows and Linux (with the KDE or Gnome 2 desktop).

The problem is that the button layout in my tablet differs in a slight, but annoying way from the Android 4.2 default, which is to put the home button at center, surrounded by the back button at the left and the recent apps button at the right. Instead, my tablet has the home button displaced one position left of center, which is occupied by the recent apps button followed by the two volume buttons (down/up).

Is there a way to edit the layout/order of the software buttons of the Android home screen? My ideal would be this sequence: volume down, back, home, recent apps, volume up. (Such a layout would retain the volume buttons, while keeping the home button in the familiar center slot.)

I know that Cyanogenmod has a settings tab precisely for fixing this problem. However there's no Cyanogenmod port for my tablet, its main saving grace being that it comes "pre-rooted", which allows me in theory to mess with any system settings if only I knew how.
The comment above about replacing System UI is correct. However there's a hack that overlays Android's built-in navigation bar with a "customizable navbar-like panel". The real navbar is hidden but still exists.

If you're still interested in a hard fix you need to unpack, modify and repack SystemUI.apk. This can be done using the apktool utility, which unzips the apk in editable form. In the resulting file tree, look for and edit res/layout/system_bar.xml using a plain text editor. Add the keymap and icons for volume control:

&lt;com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/sub" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_volume_down" systemui:keyCode="25" systemui:glowBackground="@drawable/ic_sysbar_highlight" /&gt;
&lt;com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/add" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_volume_up" systemui:keyCode="24" systemui:glowBackground="@drawable/ic_sysbar_highlight" /&gt;


The exact placement of the code probably depends on the customization done by the ROM vendor. But a likely spot is to search and place it after the line that contains the text "android:src="@drawable/ic_sysbar_recent".

After inserting the references, you need to copy the icons themselves to the right folder:

res/drawable-mdpi/ic_sysbar_volume_down.png
res/drawable-mdpi/ic_sysbar_volume_up_land.png
res/drawable-mdpi/ic_sysbar_volume_down_land.png
res/drawable-mdpi/ic_sysbar_volume_up.png


The final step is to repack the edited system_bar.xml and new icons along with the rest of the unpacked SystemUI.apk.

I'm sure my instructions are incomplete. So remember to keep a good (and tested) backup and recovery tool at hand before attempting to install your hacked apk!