[HOW TO] ☆ Transparent homescreen statusbar on JellyBean ☆ for themers and everyone - Galaxy S III Themes and Apps

[HOW TO] ☆ Transparent homescreen statusbar on JellyBean ☆ for themers and everyone
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
SGNII JB THEMES ☆ SGSIII JB THEMES ☆ SGSIII ICS THEMES ☆ NEXUS PRIME JB THEME ☆ NEW CENTER CLOCK GUIDE ☆ JB TRANSPARENT STATUSBAR GUIDE
- - - - - - - - - - - -
​
Hi everyone!
Because it looks like we have practically ready for official release sammy JellyBean seems to me it's time to make our themes better
Here's a simple guide how to make homescreen statusbar transparent:
1. You should decompile SystemUI.apk
2. Open /SystemUI/res/layout/tw_super_status_bar.xml and change android:background to 100% transparent:
Code:
<com.android.systemui.statusbar.phone.StatusBarWindowView [B]android:background="#[COLOR="Red"]00000000[/COLOR]"[/B] android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
3. Save /SystemUI/res/layout/tw_super_status_bar.xml
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">[B]#[COLOR="red"]00000000[/COLOR][/B]</item>
5. Save /SystemUI/res/values/drawables.xml
6. Recompile SystemUI.apk
Done... Now you have 100% transparent homescreen statusbar
A short hint:
#00000000 - 100% transparency
#3F000000 - 75% transparency
#7F000000 - 50% transparency
#BF000000 - 25% transparency
If you only need a ready-made statusbar you can find it here - [THEME][JB] 15 Toggle Buttons☆NEW Center Clock☆Transparent Statusbar☆and more
Enjoy! And if you have any questions, you can always ask me
If you like it you can always Rate (★★★★★) this Thread, Press Thanks button or simply buy me a beer! :good: and don't forget about credits

Maybe a stupi q, but the status bar is transparent only in home screen and not in apps?
Thx for a great guide.

Perka said:
Maybe a stupi q, but the status bar is transparent only in home screen and not in apps?
Thx for a great guide.
Click to expand...
Click to collapse
Yes in this case but to be honest it's better on my opinion because it was very ugly on ICS.

Nice! Will try to do this when (if ) I have time .

raubkatze said:
Yes in this case but to be honest it's better on my opinion because it was very ugly on ICS.
Click to expand...
Click to collapse
Yea looks kinda crappy in some apps, but in home screen its really nice
Thx for this, might use it in my jb rom later on if that is ok? Ofc credit and link to this thread will be posted.

Perka said:
Yea looks kinda crappy in some apps, but in home screen its really nice
Thx for this, might use it in my jb rom later on if that is ok? Ofc credit and link to this thread will be posted.
Click to expand...
Click to collapse
Of course It was shared for everyone

What about transparent notification pull down background? I cannot find the code to do this.

David Dee said:
What about transparent notification pull down background? I cannot find the code to do this.
Click to expand...
Click to collapse
You should change background source in tw_status_bar_expanded.xml, it could be android:background="@drawable/new_bg" for example, then add new_bg.png in /SystemUI/res/drawable-xhdpi and recompile SystemUI.apk

raubkatze said:
You should change background source in tw_status_bar_expanded.xml, it could be android:background="@drawable/new_bg" for example, then add new_bg.png in /SystemUI/res/drawable-xhdpi and recompile SystemUI.apk
Click to expand...
Click to collapse
Perfect, thanks! I was thrown off with the removal of tw_status_bar_tracking.xml in JB.

David Dee said:
Perfect, thanks! I was thrown off with the removal of tw_status_bar_tracking.xml in JB.
Click to expand...
Click to collapse
You're welcome! And in this case you can change background on the fly like in my MODs - http://forum.xda-developers.com/showthread.php?t=1840290

As always, perfect work my friend! :highfive:
Gesendet von meinem GT-I9300 mit Tapatalk 2

lichti1901 said:
As always, perfect work my friend! :highfive:
Gesendet von meinem GT-I9300 mit Tapatalk 2
Click to expand...
Click to collapse
Thanks my friend for your opinion!

Thanks for 100% trick transparent trick.

OK,
I've decomplied the systemui from cm10 (jellybean) and do not have the tw_super_status_bar.xml file. There is a super_status_bar.xml
There is no /SystemUI/res/values/drawables.xml ...there isn't even the values directory.
What are you guys using to edit these .xml's? I've got like wordpad++ and an actual .xml editor but its still all garbled.
Or is getting a transparent statusbar on CM10 just not happening?
btw I have a USCC S3, I understand this thread is for the international model.
If this solution isn't going to work for me, any where I can look to figure out how to do this?
Thanks everyone for your patience and help.
Am I wrong in saying that CM10 is jellybean?

apristel said:
OK,
I've decomplied the systemui from cm10 (jellybean) and do not have the tw_super_status_bar.xml file. There is a super_status_bar.xml
There is no /SystemUI/res/values/drawables.xml ...there isn't even the values directory.
What are you guys using to edit these .xml's? I've got like wordpad++ and an actual .xml editor but its still all garbled.
Or is getting a transparent statusbar on CM10 just not happening?
btw I have a USCC S3, I understand this thread is for the international model.
If this solution isn't going to work for me, any where I can look to figure out how to do this?
Thanks everyone for your patience and help.
Am I wrong in saying that CM10 is jellybean?
Click to expand...
Click to collapse
Yes, there is no tw_super_status_bar.xml in CM10 because it is not sammy based rom. You can try to edit super_status_bar.xml.
Do you quite understand what "decompile" means? You should use apktool to decompile .apk file.

raubkatze said:
Yes, there is no tw_super_status_bar.xml in CM10 because it is not sammy based rom. You can try to edit super_status_bar.xml.
Do you quite understand what "decompile" means? You should use apktool to decompile .apk file.
Click to expand...
Click to collapse
Well I can't get it apktool to work properly. This is really irritating. Can you tell me which java verison(s) I need to make apktool work?
OR I could just send you the .apk and you can give it a shot for me. Probably would take you 10 seconds!
Please help a brother out!
I've uploaded the systemui.apk to my server
http://www.asecomputerrepair.com/s3/SystemUI.apk
THANKS.

apristel said:
Well I can't get it apktool to work properly. This is really irritating. Can you tell me which java verison(s) I need to make apktool work?
OR I could just send you the .apk and you can give it a shot for me. Probably would take you 10 seconds!
Please help a brother out!
I've uploaded the systemui.apk to my server
http://www.asecomputerrepair.com/s3/SystemUI.apk
THANKS.
Click to expand...
Click to collapse
I can't help you because I'm not near my Mac now.
There are a lot of guides on XDA how apktool use. What about requirements - http://code.google.com/p/android-apktool/

raubkatze said:
I can't help you because I'm not near my Mac now.
There are a lot of guides on XDA how apktool use. What about requirements - http://code.google.com/p/android-apktool/
Click to expand...
Click to collapse
Weird, I have all the stuff installed already.
I just can't get apktool to work. fml.
Thanks for your help.

apristel said:
Weird, I have all the stuff installed already.
I just can't get apktool to work. fml.
Thanks for your help.
Click to expand...
Click to collapse
Btw have a look at this - http://forum.xda-developers.com/showthread.php?p=28366939

raubkatze said:
Btw have a look at this - http://forum.xda-developers.com/showthread.php?p=28366939
Click to expand...
Click to collapse
Yeah I saw that...
Code:
C:\a>apktool d framework-res.apk
I: Loading resource table...
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected. Dropping resources: dimen-v13-ERR0
W: Config flags size > 32. Exceeding bytes: -3FFD0000.
W: Invalid config flags detected. Dropping resources: dimen-v13-ERR1
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x01050001 dimen/thumbnail_height, config=-v13
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:196)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:165)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:130)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:105)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:315)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:50)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:43)
at brut.androlib.Androlib.getResTable(Androlib.java:44)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:148)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:120)
at brut.apktool.Main.main(Main.java:57)
is what I get.
I'm done for the night. Thanks for your help.
If you ever get a chance to look at the one i sent you let me know. its from the 9.15.12 cm nightly for the USCC s3
adampristel @ gmail.com on gtalk if you can get a look at it.
thanks

Related

[Mod][ICS] How to add Sense Recent App "Multitasking" !

Hello all,
This is only for ICS Samsung ROMs.
"-" means Delete.
"+" means Add
Decompile framework-res.apk and modify res/values/dimen.xml
Code:
- <dimen name="thumbnail_height">120.0dip</dimen>
+ <dimen name="thumbnail_height">229.0dip</dimen>
- <dimen name="thumbnail_width">120.0dip</dimen>
+ <dimen name="thumbnail_width">144.0dip</dimen>
and that's it for framework-res.apk, you can compile it now.
Decompile SystemUI.apk and modify:
Code:
res/values/drawables.xml
- <item type="drawable" name="status_bar_recents_background_solid">#b3000000</item>
+ <item type="drawable" name="status_bar_recents_background_solid">#00000000</item>
- <item type="drawable" name="status_bar_recents_app_thumbnail_background">#88000000</item>
+ <item type="drawable" name="status_bar_recents_app_thumbnail_background">#00000000</item>
Code:
res/values/strings.xml <<------(Adding only)
+ <string name="recent_apps_title">Recent apps</string>
smali/com/android/systemui/recent/RecentsPanelView.smali <<------(Adding only)
Search for:
Code:
invoke-virtual {v2, v1}, Landroid/widget/ImageView;->setImageMatrix(Landroid/graphics/Matrix;)V
and add after the line mentioned above
Code:
+ iget-object v2, p1, Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;->thumbnailViewImage:Landroid/widget/ImageView;
+ const/high16 v3, 0x41a0
+ invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setRotationY(F)V
Now download the attachment file "GanGs_Kid_res.zip" and unzip it
then copy the the content of "res" folder into "res" folder inside the decompiled SystemUI file
click yes for replacement.
and that's it for SystemUI.apk, you can compile it now.
BTW my Kitchen "GanGs_KiD_Kitchen" can do it for you automatically.
credit to:
BigShix
If you liked my work encourage me by small donation HERE .... and if you will not...please click Thanks button.
The xml files in the attachment seem to be compiled versions. Dont you need the uncompiled ones to add to SystemUI before compiling again?
Sent from my GT-I9100 using Tapatalk 2
finch.****break said:
The xml files in the attachment seem to be compiled versions. Dont you need the uncompiled ones to add to SystemUI before compiling again?
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
Thank you.
In fact they are "decompiled versions" because you will decompile SystemUI.apk and copy them back to it hope you get it.
GanGs_KiD said:
Thank you.
In fact they are "decompiled versions" because you will decompile SystemUI.apk and copy them back to it hope you get it.
Click to expand...
Click to collapse
I didnt find decompiled versions in the attachment, thats why my previous post. I found only compiled xml files.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I dont have my laptop to check. Screenshots are using my phone.
Sent from my GT-I9100 using Tapatalk 2
finch.****break said:
I didnt find decompiled versions in the attachment, thats why my previous post. I found only compiled xml files.
I dont have my laptop to check. Screenshots are using my phone.
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
Please check it with your laptop even when I opend it with my phone it showed as decompiled !!
I think there is smoe error at your phone or at the app you'r trying to use.
Does it work with odex rom ?
Envoyé depuis mon GT-I9100 avec Tapatalk
Thanx alot man
I will try it
by the way .. the name looks familiar to me
are you the same person on ce4a.......
anyway THANX
Hi and thank you for your job
I tried with success to modify my systemui and framework-res
I have only some fc when I press right botton to exit from the multitasking without cancell recents app.
It's only for me?
Thanks again and excuse me for bad english
kollyns said:
Does it work with odex rom ?
Envoyé depuis mon GT-I9100 avec Tapatalk
Click to expand...
Click to collapse
No , because you need to modify the smali file
252gt said:
Thanx alot man
I will try it
by the way .. the name looks familiar to me
are you the same person on ce4a.......
anyway THANX
Click to expand...
Click to collapse
U R welcome hope it works fine with you
There is only one GanGs_KiD here and there I am a former cooker and a new teacher....Just kidding
.malo2000 said:
Hi and thank you for your job
I tried with success to modify my systemui and framework-res
I have only some fc when I press right botton to exit from the multitasking without cancell recents app.
It's only for me?
Thanks again and excuse me for bad english
Click to expand...
Click to collapse
I think it's only happened with you...but can you tell me which Rom did you modify?
Tnx , and BTW me 2 I have a bad english
GanGs_KiD said:
I think it's only happened with you...but can you tell me which Rom did you modify?
Tnx , and BTW me 2 I have a bad english
Click to expand...
Click to collapse
I'm on a costum rom based on wanam lp9...After the mod I have lost lidroid bar Can I implement it again?
Thank you again for your job
.malo2000 said:
I'm on a costum rom based on wanam lp9...After the mod I have lost lidroid bar Can I implement it again?
Thank you again for your job
Click to expand...
Click to collapse
It should not effect lidroid bar ! but I think it's better if you asked wanam about this situation because he is the one that modified lidroid Mod for ICS so he will be the expert.
GanGs_KiD said:
It should not effect lidroid bar ! but I think it's better if you asked wanam about this situation because he is the one that modified lidroid Mod for ICS so he will be the expert.
Click to expand...
Click to collapse
Ok, I try with an other rom and it's perfect thank you again
Inviato dal mio GT-I9100 usando Tapatalk
Im a noob, can some one make it as an flashable zip,so i can install it on remix.ics ROM, thanks in advance
from raj's s2
sanghaviraj said:
Im a noob, can some one make it as an flashable zip,so i can install it on remix.ics ROM, thanks in advance
from raj's s2
Click to expand...
Click to collapse
framework-res.apk + SystemUI.apk required.
finch.****break said:
framework-res.apk + SystemUI.apk required.
Click to expand...
Click to collapse
I have requested this on the remix ROM thread
from raj's s2
It's not possible one zip for all rom any rom has a different framework-res and systemui from each other. You can do it by yourself or ask to someone to do it for you, but you have to give him your framework-res and systemui
Very useful
Enviado desde mi GT-I9100 usando Tapatalk 2
can this be done for framwork in cyanogenmod roms?
bluefa1con said:
can this be done for framwork in cyanogenmod roms?
Click to expand...
Click to collapse
In fact it can be done....with the same steps....but you need different "res" folder.
I never used CM before so I can not provide to you the "res" folder...sorry
Excuse me again....any fix for the landscape mode? it doesn't work :'(

Procedure for altering xml files in Systemui.apk

I've been attempting to get into theming, one thing i'd like to do is make the notification background transparent like I've seen in some roms. However, I haven't been able to edit the xml files necessary. I've tried notepad++ and some xml editors but I'm just seeing garbled stuff. Would someone give me some pointers?
Thanks
Sent from my HTC One using Tapatalk 2
You need to decompile the apk before you can edit xml files. There are many ways to do this, APK Manager etc.
sensationfan623 said:
I've been attempting to get into theming, one thing i'd like to do is make the notification background transparent like I've seen in some roms. However, I haven't been able to edit the xml files necessary. I've tried notepad++ and some xml editors but I'm just seeing garbled stuff. Would someone give me some pointers?
Thanks
Sent from my HTC One using Tapatalk 2
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=39289948
Thanks for the replies! This was great. Now I just need to figure out what to change to get what I want
sensationfan623 said:
Thanks for the replies! This was great. Now I just need to figure out what to change to get what I want
Click to expand...
Click to collapse
If your wanting the notification shade transparent you need to look in systemui/res/layout/statusbar_expanded.xml. Top line in the file just look for this
Code:
android:background="@*android:color/black"
replace it with
Code:
android:background="#88000000"
of course you need to change the code to what you want 88000000 is just a semi transparent color as an example. the 4.2.2 eqs is another story. I can tell you how to do that too if you want.
rayford85 said:
If your wanting the notification shade transparent you need to look in systemui/res/layout/statusbar_expanded.xml. Top line in the file just look for this
Code:
android:background="@*android:color/black"
replace it with
Code:
android:background="#88000000"
of course you need to change the code to what you want 88000000 is just a semi transparent color as an example. the 4.2.2 eqs is another story. I can tell you how to do that too if you want.
Click to expand...
Click to collapse
Thanks for this, always wanted to try that.
Hey Rayford,
Would it be possible to change the 'status_bar_close_on' on SystemUI to look
like the one on the GE roms, where it turns blue when pressed?
I know how to decompile and change stuff inside the apk.
Just not sure what to look for
Thanks
nightrainbow said:
Thanks for this, always wanted to try that.
Hey Rayford,
Would it be possible to change the 'status_bar_close_on' on SystemUI to look
like the one on the GE roms, where it turns blue when pressed?
I know how to decompile and change stuff inside the apk.
Just not sure what to look for
Thanks
Click to expand...
Click to collapse
I'm sure you could, but I've never tried it. Wouldn't know where to look
rayford85 said:
If your wanting the notification shade transparent you need to look in systemui/res/layout/statusbar_expanded.xml. Top line in the file just look for this
Code:
android:background="@*android:color/black"
replace it with
Code:
android:background="#88000000"
of course you need to change the code to what you want 88000000 is just a semi transparent color as an example. the 4.2.2 eqs is another story. I can tell you how to do that too if you want.
Click to expand...
Click to collapse
If you're offering sure! That would look cool
Sent from my HTC One using Tapatalk 2
Thanks for offering some advice.
Sent from my HTC One using Tapatalk 2
No problem I was lucky enough to have guys like @he_stheone64 putting out tutorials when I started theming
4.2.2 eqs go to layouts folder in systemui find quick_settings.xml & quick_settings_tile.xml & find the background tag like this
Code:
android:background="@drawable/notification_panel_bg"
change it to a transparent color like....
Code:
android:background="#99000000"
do the same thing in both xml's for the background tag.
last go to res/values/drawables.xml & find this
Code:
<item type="drawable" name="quick_settings_tile_background">#ff161616</item>
change to...
Code:
<item type="drawable" name="quick_settings_tile_background">#99000000</item>
that's it for transparent quicksettings.
This is a lot easier than the process of elimination I've been going through. I've always liked you Viper guys, had it on my One S.
Sent from my HTC One using Tapatalk 2
rayford85 said:
No problem I was lucky enough to have guys like @he_stheone64 putting out tutorials when I started theming
4.2.2 eqs go to layouts folder in systemui find quick_settings.xml & quick_settings_tile.xml & find the background tag like this
Code:
android:background="@drawable/notification_panel_bg"
change it to a transparent color like....
Code:
android:background="#99000000"
do the same thing in both xml's for the background tag.
last go to res/values/drawables.xml & find this
Code:
<item type="drawable" name="quick_settings_tile_background">#ff161616</item>
change to...
Code:
<item type="drawable" name="quick_settings_tile_background">#99000000</item>
that's it for transparent quicksettings.
Click to expand...
Click to collapse
For someone who is just starting this whole theming business, do your have any recommendations on where to start? I could just poke around like I have been, but some direction would speed up the learning process
Sent from my HTC One using Tapatalk 2
nightrainbow said:
Thanks for this, always wanted to try that.
Hey Rayford,
Would it be possible to change the 'status_bar_close_on' on SystemUI to look
like the one on the GE roms, where it turns blue when pressed?
I know how to decompile and change stuff inside the apk.
Just not sure what to look for
Thanks
Click to expand...
Click to collapse
Replace the .9 images and that should work. If not then you need to decompile both systemui.apk and put in the raw .9.png's of the GE one into the Sense one and compile it.. I would suggest Removing the carrier on the pulldown, should be located in the statusbarexpanded.xml I did a similar mod to my old Note II.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
nightrainbow said:
Thanks for this, always wanted to try that.
Hey Rayford,
Would it be possible to change the 'status_bar_close_on' on SystemUI to look
like the one on the GE roms, where it turns blue when pressed?
I know how to decompile and change stuff inside the apk.
Just not sure what to look for
Thanks
Click to expand...
Click to collapse
Just had a very quick look, but you can try the following:
Look for status_bar_expanded.xml in layout
Search for
PHP:
android:id="@id/handle" android:background="@drawable/status_bar_close_on"
The reference for the bg here is to the png in xxhdpi folder. What you need to try is changing that bg reference to the status_bar_close.xml in drawables folder, which is still there in Sense version. The code in status_bar_close.xml in drawables folder will help you, since it will choose the resources based on the state, see the following code snippet. I`m just explaining this, so you understand what you are doing here. So no need to change anything in that xml.
PHP:
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@drawable/status_bar_close_on" />
<item android:drawable="@drawable/status_bar_close_off" />
</selector>
So change the code in status_bar_expanded.xml to:
PHP:
android:id="@id/handle" android:background="@drawable/status_bar_close"
Now also add a status_bar_close_off.9.png to xxhdpi folder and amend the status_bar_close_on.9.png how you want to see it (or grab both pngs from GE SystemUI, those are in xhdpi folder there). This makes sure you have both the resources for on and off state available, which are pulled now by status_bar_close.xml, since you refered to that xml as background in your layout file. I did not test it, since I`m out traveling since nearly 2 weeks now, so no time atm.
can the guide linked be used to hide the statusbar clock ?
he_stheone64 said:
Just had a very quick look, but you can try the following:
Look for status_bar_expanded.xml in layout
Search for
PHP:
android:id="@id/handle" android:background="@drawable/status_bar_close_on"
The reference for the bg here is to the png in xxhdpi folder. What you need to try is changing that bg reference to the status_bar_close.xml in drawables folder, which is still there in Sense version. The code in status_bar_close.xml in drawables folder will help you, since it will choose the resources based on the state, see the following code snippet. I`m just explaining this, so you understand what you are doing here. So no need to change anything in that xml.
PHP:
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@drawable/status_bar_close_on" />
<item android:drawable="@drawable/status_bar_close_off" />
</selector>
So change the code in status_bar_expanded.xml to:
PHP:
android:id="@id/handle" android:background="@drawable/status_bar_close"
Now also add a status_bar_close_off.9.png to xxhdpi folder and amend the status_bar_close_on.9.png how you want to see it (or grab both pngs from GE SystemUI, those are in xhdpi folder there). This makes sure you have both the resources for on and off state available, which are pulled now by status_bar_close.xml, since you refered to that xml as background in your layout file. I did not test it, since I`m out traveling since nearly 2 weeks now, so no time atm.
Click to expand...
Click to collapse
I'm going to try it
I'll let you know
Appreciate it

[GUIDE] KitKat Style Gradient StatusBar

Hi Guys, Today I am going to show you how to make KitKat Style Gradient StatusBar.
Preview:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Disclaimer: I and XDA are not responsible for the damage of your phone. Take necessary backup if you are indoubt.
Requirements:
SystemUI.apk from you ROM
SystemUI.zip from here
Know how to Decompile/Recompile
Let's start:
1. Download and extract SystemUI.zip
2. Decompile SystemUI.apk
3. Go to res/drawable
4. Copy gradient_bg.xml from SystemUI.zip there
5. Open res/layout/status_bar.xml
6. In the second line find this code
Code:
android:background="#ff000000"
and change it to
Code:
android:background="@drawable/gradient_bg"
7. Recompile SystemUI.apk
Push it into system/app
Set proper permissions(rw-r--r--)
Credits:
CarlDeanCatabay
Reserved 01
Reserved 01
Awesome! nice work @MuSaddiq
Making GFX Devs Proud :good::good::good:
DC07 said:
Awesome! nice work @MuSaddiq
Making GFX Bandits & Devs Proud :good::good::good:
Click to expand...
Click to collapse
Thanks
cool mod frnd!!!!!
Nice mod mate. Though when I get notifications statusbar goes to the same black background. I tried modding status_bar_latest_event.xml but still the same. Any idea of what may be the problem?
Uchooseme said:
Nice mod mate. Though when I get notifications statusbar goes to the same black background. I tried modding status_bar_latest_event.xml but still the same. Any idea of what may be the problem?
Click to expand...
Click to collapse
Can u show me your status_bar.xml ?
MuSaddiq said:
Can u show me your status_bar.xml ?
Click to expand...
Click to collapse
No need, I just forgot to change the background in line 11 of my status_bar.xml. Turns out the status bar notifications and the normal status bar had different backgrounds.
Thanks anyway :good:
Good job, Bro:good:
CM7 on this method does not work?
Statusbar disappears..
Fantom001 said:
CM7 on this method does not work?
Statusbar disappears..
Click to expand...
Click to collapse
Sorry, But I don't know that this will work on cm or not.
Sent from my GT-S5360 using xda app-developers app
Fantom001 said:
CM7 on this method does not work?
Statusbar disappears..
Click to expand...
Click to collapse
There is no problem in this guide.
This will even work on any device.
You have done something wrong.
Sent from my GT-S5360 using Tapatalk 2
Fantom001 said:
CM7 on this method does not work?
Statusbar disappears..
Click to expand...
Click to collapse
san122 said:
There is no problem in this guide.
This will even work on any device.
You have done something wrong.
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
I dont think this will work on cm7 as you need to hack the systemui and then you need to build a theme with a transparent statusbar to apply in theme chooser
I wrote a guide all about this quite some time ago
you can find it
http://forum.xda-developers.com/showthread.php?t=2204389
Why dont you use tinted status bar of xposed modules
i tried ur method...but how to remove that line???
vishal1404 said:
i tried ur method...but how to remove that line???
Click to expand...
Click to collapse
I think its come from other xml file like me in first try
G S c u l e r l o r
vishal1404 said:
i tried ur method...but how to remove that line???
Click to expand...
Click to collapse
Check in dimens.xml of framework
About status bar hieght
vishal1404 said:
i tried ur method...but how to remove that line???
Click to expand...
Click to collapse
That is divider for statusbar and launcher.
To remove that, install any other stock launcher which supports transparency.
Or
Decompile your launcher
open res/values/styles.xml
add this style
Code:
<style name="My.Theme" parent="@*android:style/Theme.Wallpaper.NoTitleBar">
<item name="android:windowContentOverlay">@null</item>
</style>
now open AndroidManifest.xml
find this line (this line may be different in your rom)
Code:
<application android:label="@string/application_name" android:icon="@drawable/ic_launcher_home" android:name="LauncherApplication">
add this code in that line
Code:
android:theme="@style/My.Theme"
Now that line will look like this
Code:
<application [COLOR="Red"]android:theme="@style/My.Theme"[/COLOR] android:label="@string/application_name" android:icon="@drawable/ic_launcher_home" android:name="LauncherApplication">
Recompile
Push it in to system/app
Set proper permissions(rw-r--r--)
Sent from my GT-S5360 using xda app-developers app
MuSaddiq said:
That is divider for statusbar and launcher.
To remove that, install any other stock launcher which supports transparency.
Or
Decompile your launcher
open res/values/styles.xml
add this style
Code:
<style name="My.Theme" parent="@*android:style/Theme.Wallpaper.NoTitleBar">
<item name="android:windowContentOverlay">@null</item>
</style>
now open AndroidManifest.xml
find this line (this line may be different in your rom)
Code:
<application android:label="@string/application_name" android:icon="@drawable/ic_launcher_home" android:name="LauncherApplication">
add this code in that line
Code:
android:theme="@style/My.Theme"
Now that line will look like this
Code:
<application [COLOR="Red"]android:theme="@style/My.Theme"[/COLOR] android:label="@string/application_name" android:icon="@drawable/ic_launcher_home" android:name="LauncherApplication">
Recompile
Push it in to system/app
Set proper permissions(rw-r--r--)
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
kk...thanks for the reply....and i would try.....but i am doing it with my phone so it takes lot of time.....anyways changed the framework with the semi transparent mod provided by zionnear for lenox.....AND yes it removed the divider line
The gradient isn't perfect on my ICS Xperia Ray. It doesn't blend in 100% (see attachment).

[MOD][GUIDE]Android L Notification View.

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi guys, im back! Today I will share you something, this mod will change your notification item view to Android L-like.
Screenshot:
Click to expand...
Click to collapse
Heres what you need:
framework-res.apk
download external file here
Click to expand...
Click to collapse
Steps:
Decompile your framework-res.apk
eExtract downloaded file to framework-res folder
Add this to ids.xml and public.xml
Code:
zzzz_ucup_icon
And recompile
Click to expand...
Click to collapse
Issues:
Media Scanning notif won't change. Can somebody teach me how?
Click to expand...
Click to collapse
Tips:
jsarunotres said:
to fix that problem. u must decompile MediaProvider.apk of ur rom
Go to res/layout
and open the one n only xml there using any text editor
change the color value from #ffffffff to any color u want like #ff000000 for black text
recompile and push
@ same goes to another things like bluetooth notif, wifi (if necessary) etc etc. u must decompile every app acc.
Click to expand...
Click to collapse
Credits:
Google
Stackoverflow
SpaceCaker
CarlDeanCatabay
PineappleOwl
jsarunotres
Click to expand...
Click to collapse
*note:
If you have any problem, don't send me your files, i won't do that for you. I want people learn from mistakes.
Click to expand...
Click to collapse
Pls make this .png for hdpi
the_vanya1 said:
Pls make this .png for hdpi
Click to expand...
Click to collapse
i think 9 patch pngs are all the same.
sir aulia, i think sir tentenponce is making this. you can ask him, trying now
i got error when recompiling, error at drawable zzz_ucup_circe_image
Mranggapo said:
sir aulia, i think sir tentenponce is making this. you can ask him, trying now
Click to expand...
Click to collapse
So here's mine. Ups spoiler alert!
Mranggapo said:
i got error when recompiling, error at drawable zzz_ucup_circe_image
Click to expand...
Click to collapse
oh wait, i forgot to add that
AuliaYF said:
So here's mine. Ups spoiler alert!
oh wait, i forgot to add that
Click to expand...
Click to collapse
holy floating XD, wait im gonna post mine too
EDIT:
i still have my old background sir, althought the notif place is white and cool
Its cause the media scanning text cant see due white-on-white text Otherwise its awesome
GSculerlor said:
Its cause the media scanning text cant see due white-on-white text Otherwise its awesome
Click to expand...
Click to collapse
well, you don't need to post this. it's already said on #1
AuliaYF said:
So here's mine. Ups spoiler alert!
Click to expand...
Click to collapse
Nice one sir, but can you make a video on the behavior of that? you have nice looks there. Im lazy at pngs xD that circle rectangle was amazing, also my problem was the media scanning, white to white. </3
Here's the link of my video: https://www.youtube.com/watch?v=3hhRGIPo9t0&feature=gp-n-y&google_comment_id=z12hgnvjdu2iefl3q23rtnk53mr2wl0no
your screenshot is very well themed.
Here's mine
tentenponce said:
Nice one sir, but can you make a video on the behavior of that? you have nice looks there. Im lazy at pngs xD that circle rectangle was amazing, also my problem was the media scanning, white to white. </3
Here's the link of my video: https://www.youtube.com/watch?v=3hhRGIPo9t0&feature=gp-n-y&google_comment_id=z12hgnvjdu2iefl3q23rtnk53mr2wl0no
your screenshot is very well themed.
Click to expand...
Click to collapse
maybe this one.
https://www.facebook.com/photo.php?v=871807956182336
white on white fix
to fix that problem. u must decompile MediaProvider.apk of ur rom
Go to res/layout
and open the one n only xml there using any text editor
change the color value from #ffffffff to any color u want like #ff000000 for black text
recompile and push
@ same goes to another things like bluetooth notif, wifi (if necessary) etc etc. u must decompile every app acc.
jsarunotres said:
to fix that problem. u must decompile MediaProvider.apk of ur rom
Go to res/layout
and open the one n only xml there using any text editor
change the color value from #ffffffff to any color u want like #ff000000 for black text
recompile and push
@ same goes to another things like bluetooth notif, wifi (if necessary) etc etc. u must decompile every app acc.
Click to expand...
Click to collapse
thanks for the hint, i think users can handle that using this guide.
jsarunotres said:
to fix that problem. u must decompile MediaProvider.apk of ur rom
Go to res/layout
and open the one n only xml there using any text editor
change the color value from #ffffffff to any color u want like #ff000000 for black text
recompile and push
@ same goes to another things like bluetooth notif, wifi (if necessary) etc etc. u must decompile every app acc.
Click to expand...
Click to collapse
Thanks for the info sir. can I remake this on my future guide? but the credits goes to you sir.
AuliaYF said:
thanks for the hint, i think users can handle that using this guide.
Click to expand...
Click to collapse
ok sir wc
tentenponce said:
Thanks for the info sir. can I remake this on my future guide? but the credits goes to you sir.
Click to expand...
Click to collapse
wc sir
tentenponce said:
Thanks for the info sir. can I remake this on my future guide? but the credits goes to you sir.
Click to expand...
Click to collapse
AuliaYF said:
thanks for the hint, i think users can handle that using this guide.
Click to expand...
Click to collapse
I Dont understand this line, can you please explain me? Please?
Decompile your framework-res.apk
eExtract downloaded file to framework-res folder
Add this to ids.xml and public.xml
Code:
zzzz_ucup_icon
And recompile
Click to expand...
Click to collapse
AuliaYF said:
Hi guys, im back! Today I will share you something, this mod will change your notification item view to Android L-like.
Screenshot:​
Heres what you need:
Steps:
Issues:
Tips:
Credits:
*note:
Click to expand...
Click to collapse
sir AuliaYF i got these errors when i try these guide , i followed the guide , download the zip file , and placed on framework then i added these id on ids <item type="id" name="zzzz_ucup_icon">false</item>
and recompile , these are the errors
res/drawable-ldpi/status_bar_item_background_normal.png:0: error: Resource entry status_bar_item_background_normal is already defined.
res/drawable-ldpi/status_bar_item_background_normal.9.png:0: Originally defined here.
res/drawable-ldpi/status_bar_item_background_pressed.png:0: error: Resource entry status_bar_item_background_pressed is already defined.
res/drawable-ldpi/status_bar_item_background_pressed.9.png:0: Originally defined here.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, /data/data/per.pqy.apktool/APKTOOL6205886431053891068.tmp, -x, -0, arsc, -S, /sdcard/apktool/framework-resJC_src/res, -M, /sdcard/apktool/framework-resJC_src/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
HELP
AuliaYF said:
Hi guys, im back! Today I will share you something, this mod will change your notification item view to Android L-like.
Screenshot:​
Heres what you need:
Steps:
Issues:
Tips:
Credits:
*note:
Click to expand...
Click to collapse
sir aulia Off Topic
do you know where to find this colors ? the black text , pls help me . :laugh:
i cant find it :angel:
carlo_autor said:
...
res/drawable-ldpi/status_bar_item_background_normal.png:0: error: Resource entry status_bar_item_background_normal is already defined.
res/drawable-ldpi/status_bar_item_background_normal.9.png:0: Originally defined here.
res/drawable-ldpi/status_bar_item_background_pressed.png:0: error: Resource entry status_bar_item_background_pressed is already defined.
res/drawable-ldpi/status_bar_item_background_pressed.9.png:0: Originally defined here.
Click to expand...
Click to collapse
where's the 9.png extension?
AuliaYF said:
where's the 9.png extension?
Click to expand...
Click to collapse
sir aulia , im done with that , hehe ive deleted the old pngs without .9 pngs because it is duplicated so i deleted it
sir do know where to find that black text ? thanks in advance

[TUT][MM-LP] Mod your SymtemUI to look like Android N

This is a tutorial showing how to mod your SystemUI.apk to look like the one of android N (regarding quicksettings and notifications)
Look at screenshots at the end...
Note: in the Xperia X SystemUI, some of these modifications are already done
1- Decompile SystemUI.apk
2- Quicksettings and notifications modifications
- Go in SystemUI.apk > res > values and open color.xml with a text editor (e.g. Notepad++)
Search for the line:
Code:
<color name="system_secondary_color">#ff384248</color>
and replace it with:
Code:
<color name="system_secondary_color">#ff263238</color>
and save the file
- Go in SystemUI.apk > res > values and open dimens.xml
Search for the line:
Code:
<dimen name="qs_brightness_padding_top">6.0dip</dimen>
and replace it with:
Code:
<dimen name="qs_brightness_padding_top">-5.0dip</dimen>
Search for the line:
Code:
<dimen name="notification_side_padding">8.0dip</dimen>
and replace it with:
Code:
<dimen name="notification_side_padding">0.0dip</dimen>
Search for the line:
Code:
<dimen name="notification_material_rounded_rect_radius">2.0dip</dimen>
and replace it with:
Code:
<dimen name="notification_material_rounded_rect_radius">0.0dip</dimen>
Search for the line:
Code:
<dimen name="notification_material_rounded_rect_radius_negative">-2.0dip</dimen>
and replace it with:
Code:
<dimen name="notification_material_rounded_rect_radius_negative">0.0dip</dimen>
Search for the line:
Code:
<dimen name="notification_padding">4.0dip</dimen>
and replace it with:
Code:
<dimen name="notification_padding">0.5dip</dimen>
Search for the line:
Code:
<dimen name="notifications_top_padding">8.0dip</dimen>
and replace it with:
Code:
<dimen name="notifications_top_padding">0.5dip</dimen>
And add these lines at the end of the file:
Code:
<dimen name="notification_material_shadow_rounded_rect_radius">0.0dip</dimen>
<dimen name="status_bar_expanded_header_elevation">0.0dip</dimen>
and save the file
- Go in SystemUI.apk > res > layout and open status_bar_expanded_header.xml
Search for the string:
Code:
android:elevation="4.0dip"
and replace it with:
Code:
android:elevation="0.0dip"
and save the file
3- Recompile SystemUI.apk with original signature
It's done, enjoy
Credits: @Lars124 for his tutorial which partially helped me
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
res
Will this work on AOSP based ROMs or it'll work onlu on stock?
Sony Xperia C5 - Android 5.1.1 - Working. Thanks!
thanks
nathankaunang said:
thanks
Click to expand...
Click to collapse
Wah ada om nathan..
Well, thanks for the tutorial, I'll try it on lollipop mate..
Looks so nice..
:good:
nrokos said:
Will this work on AOSP based ROMs or it'll work onlu on stock?
Click to expand...
Click to collapse
May work on AOSP, but look at the tutorial of Lars124 too (link in credits)
Well, it's working on lollipop deodexed rom
Thanks mate.
How about lockscreen notifications ?
Sent from my C6903 using XDA-Developers mobile app
nice share bro
but for few people just like me doesn't have any much time to dc/rc some apk to change padding so easyway is using xposed module it's name Qs X tiles per row [L-M] v0.97 or Android N-ify
@nreuge - many thanks - everything is working
dstrikersZ1 said:
How about lockscreen notifications ?
Click to expand...
Click to collapse
Yes - works on lockscreen also
ryandxter said:
nice share bro
but for few people just like me doesn't have any much time to dc/rc some apk to change padding so easyway is using xposed module it's name Qs X tiles per row [L-M] v0.97 or Android N-ify
Click to expand...
Click to collapse
Thanks for this hints - But some (like me) like to stay with less Xposed modules as possible.
I like to modify the apks for myself... Only direct code adjustments gives you the best UI experience.
This mod cost me 3 minutes. But with quite good apk de-re-compling knowledge - which may not everybody has...
Therefore I really appreciate if modders share there codes
@nreuge, is it possible to have tha carrier text shown on status bar expanded and lockscreen on status bar also, i tried it but it shows on lockscreen also. Thanks for dis guide!
Hi, I use cm13 and how can I change my lock screen clock and battery icon like Sony android 6 ROMs?
sent from Xperia™ SP | Android 6.0.1
Guys, a beginner here... How can I recompile the apk with original signature? And after recompiling it says
Code:
warning string ... has no default translation
is that a problem? Thanks in advance!
PS: I installed the framework-res.apk.
EDIT: figured it out, it's working! Thanks for the amazing tutorial!!!
Working on m4 aqua 5.0
Note: I had to add this line because it was missing
Code:
<dimen name="notification_material_rounded_rect_radius_negative">0.0dip</dimen>
plz.. Mod Ui for me FW MM570
you have already done a great job! but noob like me its hard to do coding, I like yours way than xposed module, here is my System Ui.apk..if u kindly mod it for me and then I can share with other noobs! Thanks in Advance!:highfive:
dark-mew said:
Well, it's working on lollipop deodexed rom
Thanks mate.
Click to expand...
Click to collapse
Can you show me how to change the toggle icons? You mod SystemUI, or use Xposed?
Could you please do it for me
Xperia z2 D6502 MM .570 odexed
Thanks in advance...
xperiafath said:
you have already done a great job! but noob like me its hard to do coding, I like yours way than xposed module, here is my System Ui.apk..if u kindly mod it for me and then I can share with other noobs! Thanks in Advance!:highfive:
Click to expand...
Click to collapse
cosmicfajr said:
Could you please do it for me
Xperia z2 D6502 MM .570 odexed
Thanks in advance...
Click to expand...
Click to collapse
Guys, I'm sorry but I do mods only for the Z5...
I've not so much free time, and doing a mod means update it at every firmware update. It's why I've done this tutorial. I think there are enough people in the Z2 forum to do it and share it.
Hope you understand...
thanhtuan1611 said:
Can you show me how to change the toggle icons? You mod SystemUI, or use Xposed?
Click to expand...
Click to collapse
Actually, it's pretty easy mate.
Just replace the stock icons with the AOSP icons.
And if you don't want to decompile your systemui, you can use root explorer to extract your systemui and then go to res/drawable-xhdpi-v4 and replace the icons.
And after that, just compress the files inside systemui folder as a zip and then rename it to change the extension to be apk.
Push it to your system and give the right permission, reboot.

Categories

Resources