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

Search This thread

savergiggio

Senior Member
Apr 30, 2013
720
1,145
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.KeyButtonView 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
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    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.KeyButtonView 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