Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,772,773 Members 52,032 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE][GB]Gradient_Statusbar[EXCLUSIVE]

Tip us?
 
kk9999gada
Old
(Last edited by kk9999gada; 2nd April 2014 at 03:43 PM.)
#1  
kk9999gada's Avatar
Senior Member - OP
Thanks Meter 975
Posts: 646
Join Date: Jan 2012
Location: Mumbai
Tutorial [GUIDE][GB]Gradient_Statusbar[EXCLUSIVE]

Gradient Status Bar
For Gingerbread Roms

Hello everyone, today I will show you how to get Kit Kat Gradient Status Bar on Gingerbread Roms. So, lets begin.

Requirements:
  1. Windows/Linux
  2. Apktool
  3. 7-zip.
  4. Notepad++ for Editing xml in Windows
  5. Gingerbread Rom (De-odexed) for SystemUI.apk
  6. Resources (See Attachment)
  7. Basic Compiling and Decompiling Knowledge.

Modding SystemUI.apk
  1. Decompile your SystemUI.apk
  2. Navigate to /SystemUI/res/layout/status_bar.xml
  3. Now find this line
    Code:
    <com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
      xmlns:android="http://schemas.android.com/apk/res/android">
  4. Now Change the Red marked line with this
    Code:
    android:background="@drawable/gradient"
  5. Now copy the attached gradient.png to /SystemUI/res/drawable-mdpi
  6. Recompile SystemUI.apk
  7. Now open the Original SystemUI.apk using 7-zip
  8. Now navigate to /SystemUI/build/apk and Drag the classes.dex to Original SystemUI.apk
  9. Now navigate to /SystemUI/build/apk/res/drawable-mdpi and Drag gradient.png to Original SystemUI.apk
  10. Push the Modded SystemUI.apk to /system/app
  11. Thats it. Enjoy Gradient Status Bar on your Gingerbread.

XDA PORTAL
Don't forget to Hit Thanks
Attached Thumbnails
Click image for larger version

Name:	SC20131217-204421.png
Views:	4486
Size:	27.7 KB
ID:	2479035   Click image for larger version

Name:	SC20131217-204425.png
Views:	5330
Size:	218.5 KB
ID:	2479036  
Attached Files
File Type: zip Resources.zip - [Click for QR Code] (409 Bytes, 1784 views)
File Type: zip WiFi_Network_Icons_For_MDPI.zip - [Click for QR Code] (18.4 KB, 1104 views)
My Contributions:
>Root GT-S7500<
>INSPIRATION_ROM<(GT-S7500)>English---Arabic<
>GELLYBREAD ROM<(GT-S7500L)<
>FAQ_&_Troubleshooting<>JELLYBEAN---GINGERBREAD<
>SUPERCHARGING_SIMPLIFIED_GUIDE<
>Gradient_Status_Bar_for_GB<
>AndroidMadness Team<
< LIKE MY WORK THEN FOLLOW ME ON TWITTER >
Hit Thanks If I Helped You
The Following 26 Users Say Thank You to kk9999gada For This Useful Post: [ Click to Expand ]
 
karambir singh
Old
#2  
karambir singh's Avatar
Senior Member
Thanks Meter 1022
Posts: 453
Join Date: Jun 2013
Location: Punjab
good work
The Following User Says Thank You to karambir singh For This Useful Post: [ Click to Expand ]
 
xdagee
Old
#3  
xdagee's Avatar
Senior Member
Thanks Meter 277
Posts: 622
Join Date: Sep 2012
Location: Accra
Great

Development Projects
CM 11S OnePlus Edition
Sony Xperia UI

Don't hesitate to hit the button if i have helped you
"If youíre born poor, itís not your mistake. But if you die poor, it is your mistake."
The Following User Says Thank You to xdagee For This Useful Post: [ Click to Expand ]
 
EnricoD
Old
#4  
EnricoD's Avatar
Recognized Contributor / Themer
Thanks Meter 3896
Posts: 2,190
Join Date: May 2013
thank you.. gonna add gradients to my. next gb rom.. I've more white if you want I can share
 
MuSaddiq
Old
#5  
MuSaddiq's Avatar
Senior Member
Thanks Meter 914
Posts: 644
Join Date: Aug 2013
Nice guide.
Btw You can use xml method for the gradient statusbar, So that the users can change the opacity and color of their choice without any image editor. If you didn't understand you can take a look at gradient_bg.xml in SystemUI.zip from my guide.
The Following 2 Users Say Thank You to MuSaddiq For This Useful Post: [ Click to Expand ]
 
sharingan
Old
#6  
sharingan's Avatar
Senior Member
Thanks Meter 598
Posts: 2,110
Join Date: May 2013
Location: Hidden Leaf village

 
DONATE TO ME
i will definitely gonna try it on my ace with gb
happy new year in advance


HIT THANKS IF I HELPED YOU
 
kk9999gada
Old
(Last edited by kk9999gada; 31st December 2013 at 11:04 AM.)
#7  
kk9999gada's Avatar
Senior Member - OP
Thanks Meter 975
Posts: 646
Join Date: Jan 2012
Location: Mumbai
Quote:
Originally Posted by MuSaddiq View Post
Nice guide.
Btw You can use xml method for the gradient statusbar, So that the users can change the opacity and color of their choice without any image editor. If you didn't understand you can take a look at gradient_bg.xml in SystemUI.zip from my guide.
Yes, we can do that. But this one is much simple and the output will be same.

Quote:
Originally Posted by aditya rathee View Post
i will definitely gonna try it on my ace with gb
happy new year in advance
Happy new year to you also.

Quote:
Originally Posted by enricocid View Post
thank you.. gonna add gradients to my. next gb rom.. I've more white if you want I can share
Yes you can share after all XDA is a place for sharing.
My Contributions:
>Root GT-S7500<
>INSPIRATION_ROM<(GT-S7500)>English---Arabic<
>GELLYBREAD ROM<(GT-S7500L)<
>FAQ_&_Troubleshooting<>JELLYBEAN---GINGERBREAD<
>SUPERCHARGING_SIMPLIFIED_GUIDE<
>Gradient_Status_Bar_for_GB<
>AndroidMadness Team<
< LIKE MY WORK THEN FOLLOW ME ON TWITTER >
Hit Thanks If I Helped You
 
pravin.narote
Old
#8  
Senior Member
Thanks Meter 82
Posts: 252
Join Date: Sep 2013
can it be used on ICS ROM
 
kk9999gada
Old
#9  
kk9999gada's Avatar
Senior Member - OP
Thanks Meter 975
Posts: 646
Join Date: Jan 2012
Location: Mumbai
Quote:
Originally Posted by pravin.narote View Post
can it be used on ICS ROM
It should work give a try.
My Contributions:
>Root GT-S7500<
>INSPIRATION_ROM<(GT-S7500)>English---Arabic<
>GELLYBREAD ROM<(GT-S7500L)<
>FAQ_&_Troubleshooting<>JELLYBEAN---GINGERBREAD<
>SUPERCHARGING_SIMPLIFIED_GUIDE<
>Gradient_Status_Bar_for_GB<
>AndroidMadness Team<
< LIKE MY WORK THEN FOLLOW ME ON TWITTER >
Hit Thanks If I Helped You
 
MuSaddiq
Old
#10  
MuSaddiq's Avatar
Senior Member
Thanks Meter 914
Posts: 644
Join Date: Aug 2013
Quote:
Originally Posted by kk9999gada View Post
Yes, we can do that. But this one is much simple and the output will be the same.
Ya, the output will be same and this method is simple also but if the user wants to change the color of the gradient

In image method: He should use any photo editor.

In xml method: He should just change the hex color code.

Just a suggestion that you can edit the op and create 2 methods for this, Method 1 is image method and Method 2 is xml method.

Sent from my GT-S5360

The Following User Says Thank You to MuSaddiq For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes