Tutorial - Transparent Statusbar

This tutorial is HOW to make your gingerbread's statusbar transparent

lets get the tutorial begin

First step "if you already knew HOW to decompile and recompile *.apk files, you should be able to do this"

  • Do adb pull or extract SystemUI.apk file from /system/app of your ROM
  • Decompile your SystemUI.apk
  • Go inside to directory "SystemUI\smali\com\android\systemui\statusbar\"
  • look for a file named StatusBarService.smali
  • Open it with Notepad++
  • look for line 2218 number and make exac value as follow
    •  const/4 v5, -0x3
  • done and save it.
NEXT

  • Go to "SystemUI/res/layout" directory
  • Look for a file "status_bar.xml"
  • Open it using Notepad++
  • Go to the line number 37, and make same value as folow
    • <com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background="@drawable/statusbar_background" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />
  • done and save it.
Second step "if you already knew how to deal with *.9.png files, you should be able to do this"
  • Go to "SystemUI/res/drawable_mdpi" directory
  • Search for a file "statusbar_background.9.png, status_bar_background.9.png, and shade_bg.png"
  • Open it using Adobe photoshop or other image editing program
  • Make it transparent 60% - 80% as you wish
  • done and save it
LAST STEP IS RECOMPILE YOUR APK

--yondaime--

0 comments: