[Galaxy S III Themes and Apps] masterex567:
Transparent Status Bar!

Based on Raubkatze's discovery i have found a way to implement this on the 4.2.1 leak

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=[COLOR="Red"]"#00000000"[/COLOR] 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:

<item type="drawable" name="status_bar_background">[COLOR="red"]#00000000[/COLOR]</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/?xa64he0jkdccpru,dkb75l7sq8nhsjh,s88aw8sbxgp8srr,zigm2i9wscqkn2x

Center Clock in Status Bar!

To start with decompile SystemUI.apk

Navigate to res/layout/status_bar.xml

Look for a line that starts with:

<com.android.systemui.statusbar.policy.Clock

and delete it.

Then add these lines:

<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:paddingTop="3.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
</LinearLayout>

Under this line:

xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">

Now, your clock will probably be blue, to make it white or to change to another color.

Navigate to res/values/styles.xml

From this line:

<style name="TextAppearance.StatusBar.Clock" parent= [MENTION=1901967]androi[/MENTION]d:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">18.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor" [MENTION=1901967]androi[/MENTION]d:color/holo_blue_light</item>

Change the

android:color/holo_blue_light

to #FFFFFF for white.

And you can add your own hex code for different colors as well.

Now recompile SystemUI.

Your recompiled SystemUI will be in the /dist folder.

Open the SystemUI in the dist folder, and the normal SystemUI that you decompiled with 7zip.

Drag and drop (DO NOT EXTRACT) AndroidManifest and META-INF from the normal one to the one in dist.

That's it, send your SystemUI through adb or create a flashable zip...

Or copy it to your sdcard, then copy to system/app with root explorer.

Enjoy

More guides coming up. ;)