Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,813,020 Members 54,098 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
savergiggio
Old
#1  
savergiggio's Avatar
Senior Member - OP
Thanks Meter 855
Posts: 603
Join Date: Apr 2013

 
DONATE TO ME
Default [Tutorial][How-to][Guide] StatusBar Mods

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: [ Click to Expand ]
 
Dickey Kid'deviel
Old
#2  
Dickey Kid'deviel's Avatar
Senior Member
Thanks Meter 165
Posts: 147
Join Date: Oct 2012
reserved
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes