[Galaxy Y GT-S5360 Themes and Apps] TheFixItMan:
How to make any gingerbread or cm7/cm9 status bar transparent

Check my signature for all my statusbars including pre-made stock cm7/cm9 and Aosp statusbars and guides​

There's three ways to make the statusbar bar Transparent and I'll post them all

One way works with any gingerbread rom (deodex & rooted) and one with cyanogen 7

I have not tried it on ics or jelly bean but you can try (for people who stumble across this thread who are not galaxy y users)

Please dont ask for support unless you are using a custom rom on galaxy y

Any other phones please goto your own phone forum for support

You also need a launcher that is capable of transparency

Adw works but you need to disable wallpaper hack in settings

holo launcher works

any other launcher if it doesn't work look in it's settings & try & disable wallpaper hack or manage internally

Method one for non cm (Stock Deodex Rom)

You need apk tool installed - if you don't know how to use it see my guide here

http://xdaforums.com/showthread.php?t=2206938

Once you have decompiled SystemUI.apk using apk tool goto res/layout Open status_bar.xml in notepad

Find the following line

<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" [COLOR="Red"]android:background="#ff000000"[/COLOR] android:focusable="true" android:descendantFocusability="afterDescendants"

Notice the part highlighted in red android:background is normally a hexadecimal value or it could be a drawable value

either way change the red part to the following

<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" [COLOR="Red"]android:background="@drawable/nameofpng" [/COLOR]android:focusable="true" android:descendantFocusability="afterDescendants"

Notice that android:background is now a drawable value

Change nameofpng to the name of your transparent background image (just the name - do not include the file extension .png)

place this image with the same name as the drawable value in res/drawable-ldpi

(of course other devices might be in mdpi or hdpi)

Recompile and sign apk

Put in a flashable zip and flash with system mounted

You can download and use the pngs in the attachment (for ldpi like galaxy y) or create your own

To create a transparent status bar image just take a non Transparent one and edit it in a photo application to make it Transparent (make sure image dimensions stay the same and is for your phone resolution)

Method two for cm7

Note you will need apk tool installed and notepad++ installed

Download the patcher tool by Z25 in attachment

Unzip the contents to a folder

Place your SystemUI.apk and framework-res.apk in files_to_patch

Run patcher.bat

Select status bar tweaks and enable only transparent status bar

Edit the smali file as described in the text file that pops up

Select option build and sign

Select option to create zip files

You now have a zip file called patch.zip

unzip this and take out the SystemUI.apk - we will save this for later

Now we have to either make our own transparent theme or you can download a theme from the playstore for theme chooser that already contains status bar transparency

If you are downloading a theme from the playstore skip the part "To create your own theme" and go straight to the part "final steps"

To create your own theme

Goto uot kitchen http://uot.dakra.lt/kitchen

Take cyanbread.apk from the app folder of your cm7 rom & place on pc (or any other Theme Chooser Theme you wish to make transparent)

Rename it to what you want to call theme

Upload it to kitchen (under cm7 theme in file upload)

In status bar tweaks set background transparency to around 70% Transparent and any other settings you need like carrier or footer - don't forget to generate preview once done

Make sure you have selected ldpi in statusbar tweak settings and ldpi/mdpi for theme chooser preview in file upload (other devices may vary) and in file upload change update binary to galaxy

Then goto summary section

If everything is green create the theme

If not make sure you have clicked generate preview on status bar tweaks

Kitchen will then create theme for you

Download the zip file from kitchen and unzip it

Take out your theme apk

Final Steps

Sign both your theme apk and SystemUI.apk that you saved from earlier with a platform key using zipsigner (playstore)

Put both apks in a flashable zip and flash in cwm with system mounted

(note if you are using a theme from the playstore just do this for SystemUI.apk)

Once the phone has booted goto

ADWLauncher

System Preference

Disable Wallpaper Hack (untick the box)

Your status bar is now transparent

Method three for cm9

Once you have decompiled SystemUI.apk with apktool

Goto smali/com/android/systemui/statusbar/StatusBar.smali

Find the following line

invoke-direct/range {v11 .. v16}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V

Above this line change

const/16 v16, 0x4

To the following

const/16 v16, -0x3

Now in notepad++ open the following

res/values/drawables.xml

Find the following line

<item type="drawable" name="status_bar_background">#ff000000</item>

Change the hex value to the hex value of the colour/transparency you want

For example

Completely transparent:

<item type="drawable" name="status_bar_background">#00FFFFFF</item>

70% transparent

<item type="drawable" name="status_bar_background">#b3000000</item>

50% transparent:

<item type="drawable" name="status_bar_background">#7f000000</item>

Recompile

Sign with a platform key using zipsigner (playstore)

Put in a flashable zip and flash in cwm with system mounted