Guide of Transparent Status Bar / Center Clock on 4.2.1 TW for DEVS

Posted by on Aug 16, 2014 in Customization, Dev Guide

Based on Raubkatze’s discovery i have found a way to implement this on the 4.2.1 leak and following is a Guide to show you how its done.

As you’ll see there’s no tw_super_status_bar.xml, so i’ve made the same modifications to another file.

1. Decompile SystemUI.apk

2. Open /SystemUI/res/layout/super_status_bar.xml and change android:background to 100% transparent.

<?xml version=”1.0″ encoding=”utf-8″?> <com.android.systemui.statusbar.phone.StatusBarWindowView android:background=”#00000000″ android:focusable=”true” android:fitsSystemWindows=”true” android:descendantFocusability=”afterDescendants” xmlns:android=”http://schemas.android.com/apk/res/android”

3. Save and close the file.

4. Open /SystemUI/res/values/drawables.xml and edit this line to get transparency you need, for example, 100% transparent:

Code:

<item type=”drawable” name=”status_bar_background”>#00000000</item>

5. Save and Close

6. Recompile SystemUI.apk

** For signing of system apps, open original app and recompiled app through 7 zip and Drag and Drop META-INF and AndroidManifest.xml from original to recompiled.**

Done now you have the transparent statusbar!

Small hint:

#00000000 – 100% transparency

#3F000000 – 75% transparency

#7F000000 – 50% transparency

#BF000000 – 25% transparency

You can get the transparent status bar done from vegeta1’s work: http://www.mediafire.com/?xa64he0jkd…igm2i9wscqkn2x

 

For Center Clock view the next page:

Leave a Reply