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

[Tutorial][How-to][Guide] StatusBar Mods

OP savergiggio

27th January 2014, 06:42 PM   |  #1  
savergiggio's Avatar
OP Senior Member
Thanks Meter: 860
 
617 posts
Join Date:Joined: Apr 2013
Donate to Me
More
StatusBar Mods For All Xperia Devices

Requirements
  1. ApkTool
  2. SystemUI.apk
  3. Knowledge to Decompiling and Compiling APKs
  4. Notepad++


How to Add Corner Options on StatusBar
  • Decompile with APKTool SystemUI.apk
  • Go to res/layout/status_bar.xml
  • Add this Line ( <com.android.systemui.statusbar.policy.KeyButtonVi ew android:layout_gravity="right" android:id="@id/home" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/screen_lock" android:layout_toRightOf="@id/recent_apps" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" systemui:keyRepeat="false" systemui:glowBackground="@drawable/ic_sysbar_highlight" androidrientation="vertical" /> ) between this " </LinearLayout> " and this " <ImageView android:layout_gravity="top|left|center" android:id="@id/rounded_corner_ul" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/rounded_corner_ul" /> "
  • Than Make a Transparent Image 20x35 with Photoshop in .PNG , rename it in ( screen_lock ) and copy in" resdrawable-xhdpi "
  • Compilng and Done :)


More Mods Soon

XDA:DevDB Information
[Tutorial][How-to][Guide] StatusBar Mods, a Tool/Utility for the Sony Xperia S

Contributors
savergiggio

Version Information
Status: Stable

Created 2014-01-27
Last Updated 2014-01-27
The Following 5 Users Say Thank You to savergiggio For This Useful Post: [ View ]
17th July 2014, 07:00 PM   |  #2  
Dickey Kid'deviel's Avatar
Senior Member
Thanks Meter: 171
 
147 posts
Join Date:Joined: Oct 2012
reserved
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes