[MOD][EE03][GINGERBREAD] Remove Clock from Status Bar - Epic 4G Themes

Well I wanted to leave my contribution to Gingerbread so I brought you the Remove Clock from Status Bar mod. Took a bit of work seeing how things have changed from Froyo to GB but after some hours of looking at code I figured it out. Themers/devs, feel free to use in any of your builds. Note: I have flashed this using ptfdmedic's themes and it works fine so have at it.
Enjoy.. Paul627g
Remove Clock from Status Bar (Flash in CWM)
Restore Clock from Status Bar (Flash in CWM)
:: This will break any changes to the SystemUI.apk you may have in place if its been modified. ::
Here is the line of code that I removed to accomplish this.
- SystemUI.apk
- Decompile using APK Manager 4.9
- res/layout/status_bar.xml
- Line 8 in Notepad ++
- Remove the following...
Code:
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
- Save the file in Notepad ++ and compile the apk and flash!

I see you got it all worked out GJ man!
Paul627g said:
Well I wanted to leave my contribution to Gingerbread so I brought you the Remove Clock from Status Bar mod. Took a bit of work seeing how things have changed from Froyo to GB but after some hours of looking at code I figured it out. Themers/devs, feel free to use in any of your builds.
Enjoy.. Paul627g
Remove Clock from Status Bar (Flash in CWM)
Restore Clock from Status Bar (Flash in CWM)
:: This will break any changes to the SystemUI.apk you may have in place if its been modified. ::
Click to expand...
Click to collapse

Thanks... Finally it decompiled perfectly in APK Manager and it was only a matter of a hour or so of poking around to find the right line of code

Is it possible if you can just get rid of the AM/PM? =P

acer1096xxx said:
Is it possible if you can just get rid of the AM/PM? =P
Click to expand...
Click to collapse
Looking into it, but this area of code has seemed to been completely changed up from Froyo which I expected. I will keep hunting around see if I can figure it out.. I'm sure others are looking into this too..

Nice work. Thanks!

I think it's going to be in services.jar. I believe this is what actually puts the whole clock there but without the element in the status_bar layout to support it we do not see it. So my theory is that in services.jar if we were to find the applicable code. The am/pm string could just be removed.
Paul627g said:
Looking into it, but this area of code has seemed to been completely changed up from Froyo which I expected. I will keep hunting around see if I can figure it out.. I'm sure others are looking into this too..
Click to expand...
Click to collapse

p3dr0maz said:
I think it's going to be in services.jar. I believe this is what actually puts the whole clock there but without the element in the status_bar layout to support it we do not see it. So my theory is that in services.jar if we were to find the applicable code. The am/pm string could just be removed.
Click to expand...
Click to collapse
I will have to look around in the services.jar again and see if I can find it... I abandoned the services.jar when I noticed that the normal stuff we were looking for was removed and placed in the SystemUI.apk.
If you stumble on something PM me, p3dr0maz.

Related

[MOD] Transparent Notification Pulldown (EC05 Bonsai 4.0.X)

Hey all,
Here's a mod to make the notification drawer pulldown transparent. It based on EC05. This one's off of Bonsai's 4.0.X. Let me know what you think. This is at 70% opacity.
Thanks to malfunctions DIY guide: http://forum.xda-developers.com/showthread.php?t=812541 and to Decalex.
Make copies/backups of
/system/framework/twframework-res.apk
/system/framework/framework-res.apk
Preview (Disclaimer: Does not come with the custom branding/batt mod):
CWM3 Flashable:http://www.megaupload.com/?d=5AAHOSKK
Heres a suggestion where the red part is bring the pull down menu so it completely covers the screen
XxLostSoulxX said:
Heres a suggestion where the red part is bring the pull down menu so it completely covers the screen
Click to expand...
Click to collapse
I always wonderd why that space was there.
Also how did you get the time over there by the date?
Sent from my SPH-D700 using Tapatalk
Yeah, idk what's up with the extra padding there. I noticed that too. That is not something I did. That's just the way it is by default. We could look into what causes that but I think it's beyond me currently. I just started messing with modifying PNG's and .9.PNG's. I know XML but have never messed with Android's schemas.
Actually the image status_bar_close_on.png purposely has a shadow now that I take a closer look. Simple enough to modify if you have a little Photoshop skills.
Or maybe it's fixable by adjusting the image padding in the xml file.
I was able to find status_bar_tracking.xml which references the image.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<com.android.server.status.TrackingView android:orientation="vertical" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.server.status.TrackingPatternView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
<com.android.server.status.CloseDragHandle android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/status_bar_close_on" android:scaleType="fitXY" />
</com.android.server.status.CloseDragHandle>
</com.android.server.status.TrackingView>
Maybe if android: paddingLeft="0.0px" android: paddingRight="0.0px" android: paddingBottom="0.0px" [spaces added to remove smileys] could be made negative value pixels we could force status_bar_close_on.png down a bit? We'd have to try.
The clock being moved from the normal status bar to the pulldown notification status bar is a mod in the services.jar file. It was done by Randy_T and Mammon for the Bonsai rom and that's what I have installed. You can probably replace yours and get the same effect. Make a backup just in case.
coryshad said:
I always wonderd why that space was there.
Also how did you get the time over there by the date?
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
p3dr0maz said:
The clock being moved from the normal status bar to the pulldown notification status bar is a mod in the services.jar file. It was done by Randy_T and Mammon for the Bonsai rom and that's what I have installed. You can probably replace yours and get the same effect. Make a backup just in case.
Click to expand...
Click to collapse
Cool thanks
Sent from my SPH-D700 using Tapatalk
It does reach all the way to the bottom - it is built so that it has a drop shadow below it. Just replace the close on with one that doesn't have that drop shadow or modify it in photoshop to remove it and slide the handle to the bottom of the canvas and it will hit the bottom.
Edit - read the first part of your post now - your first assumption is correct.
p3dr0maz said:
Hey all,
Here's a mod to make the notification drawer pulldown transparent. It based on EC05. This one's off of Bonsai's 4.0.X. Let me know what you think. This is at 70% opacity.
Thanks to malfunctions DIY guide: http://forum.xda-developers.com/showthread.php?t=812541 and to Decalex.
Make copies/backups of
/system/framework/twframework-res.apk
/system/framework/framework-res.apk
Preview (Disclaimer: Does not come with the custom branding/batt mod):
CWM3 Flashable:http://www.megaupload.com/?d=5AAHOSKK
Click to expand...
Click to collapse
Would this be flashable on sfr 1.2?
brandonc0526 said:
Would this be flashable on sfr 1.2?
Click to expand...
Click to collapse
Yes its just modified pngs (graphics) in the framework-res.apk and twframework-res.apk files. Nothing else should be included in this zip package to make these transparency changes. You can think of this as a sort of mini-theme that your flashing.
Paul627g said:
Yes its just modified pngs (graphics) in the framework-res.apk and twframework-res.apk files. Nothing else should be included in this zip package to make these transparency changes. You can think of this as a sort of mini-theme that your flashing.
Click to expand...
Click to collapse
Because this is the framework it isn't that simple. You would lose all battery mods, themes and rom customization (that is part of the apk's). The best thing to do would be to open it up and pull out the images and place them in the srf framework files than push them to the phone.
Sent from my SPH-D700 using XDA Premium App
crawrj said:
Because this is the framework it isn't that simple. You would lose all battery mods, themes and rom customization (that is part of the apk's). The best thing to do would be to open it up and pull out the images and place them in the srf framework files than push them to the phone.
Sent from my SPH-D700 using XDA Premium App
Click to expand...
Click to collapse
Correct, as the OP stated this is only the transparent pull down notification background. It doesn't include anything else so it would overwrite any other modifications that are done to the current framework-res.apk and twframework-res.apk you have installed.
The files you would need to pull are...
twframework-res.apk/res/drawable-hdpi/
status_bar_close_on.png
status_bar_header_background_01.png
status_bar_header_background.png
status_bar_background.9.png
framework_res.apk/res/drawable-hdpi/
status_bar_item_background_focusl.9.png
status_bar_item_background_normal.9.png
status_bar_item_background_pressed.9.png
I think that should about cover the transparent notification pulldown section. For the average person this may seem a bit much to move these files over, but I think this transparent theme/mod that p3dr0maz did was for those who were looking for maintaining the stock appearance with some transparency thrown in

[QUESTION] Theming Transparency GB Sense 2.1

Hi all,
I'm hoping that someone can help to get me started as I wish to start making more Mods and a theme without relying on UOT.
I am looking to learn how to make things within Rosie and SystemUI transparent such as Quick Settings and App drawer.
I've had a go with this theme by m-deejay. I have managed to make the notifications background transparent but not the bars within them or the quick settings.
I've tried to adjust the labels at the bottom by editing
Res, Drawable, status_bar_tab_off.9 and status_bar_tab_on.9 .pngs
but that doesn't seem to be working for me.
Any help from any themers to get me started will be much appreciated and credit given if and when I can finally get something up and working manually.
I am using photoshop and have avabox2 for signing etc
Thanks in advance
Bump for help
Mate you have to learn using apktool or apk_manager (it's easier - search here in xda to download)...
Just de-compile the Default SystemUI.apk and f.e take also a SystemUI.apk that you know it has transparency, rename it to SystemUItrans.apk f.e and de-compile it too...
Then use WinMerge application (it's for windows) and compare all folders of the 2 systemUI (drawable, layouts, values, etc) and see which .xml files are different...
Then duple click on .xml files that is with red color on WinMerge, and see the differences inside them...
If you read the lines that are diferent you will figure out what you want to change...
In SystemUI f.e there is a xml file with the name quick_settings.xml and has a line which write:
ScrollView android:id="@id/scroll" android:background="#66000000" android:fadingEdge="none" android:layout_width="fill_parent" ...
The android:background="#ffffffff" means that the background will be white... So for make it full transparent you have to change it to android:background="#00000000"
Also compare the smali folders that are created while de-compiling...
this is an example i gave you....
I use for decompile, recompile and zipalling the apk_manager4.9
Here is the Thread of apk_manager... So download it and if you have question ask there and the guys will help you more....
i found this thread a bit of help .
http://forum.xda-developers.com/showpost.php?p=9978779&postcount=62
altho it dont help much with rosie but i have managed to get rosie transparent in my theme from help in this thread.
http://forum.xda-developers.com/showthread.php?t=1078621&page=3
hope that helps mate
and what kalagas has said also i learned loads that way also
Kalagas, you are a gentleman and a scholar
Ajthescot, many thanks for the links.
If I ever get to the bottom of this theming then you guys will surely get credit and thanks for the help and advice.
Much appreciated

[THEME] POWDER for VANILLA BEAN/BAMF 1.7 ALL VERSIONS DESK CLOCK WIDGET

White framework, white pulldown, white dialer, white market, themed AOSP lockscreen, white google quick search/news and weather/you tube, themed sense lock, themed Launcher2SexyRosie, white multitouch, themed desk clock widget
6/20: Desk Clock Widget
6/16: Date fixed in notification, some new icons, ime and rosie themed.
Powder for BAMF1.7 all versions:http://www.mediafire.com/?b2gi6daidbrgtcu
Will update the bean version soon
powderbeanFROYO:http://www.mediafire.com/?b3d314wj7d3zqr6
Lot of credit to dhemke17 for doing my black text, and teaching me how.
Thanks to JsinLegacy for letting me borrow his widgets
Vanilla Bean:http://forum.xda-developers.com/showthread.php?t=1065825
POWDER1.2.1 for for Das BAMF 2.0 (GINGERBREAD)http://www.mediafire.com/?87vd2bysl5o66g2
work in progress
Talk to dhemke, creator of vanilla bean and lightning rom about changing clock/date color to black, he did it on froyo. Otherwise, the theme looks amazing and I will for sure use it once I make the switch from froyo to gb.
Sent from my ADR6400L using XDA App
Status bar stuff is all controlled from system.apk, clock mods, etc aren't in services anymore.
mbh87 said:
Status bar stuff is all controlled from system.apk, clock mods, etc aren't in services anymore.
Click to expand...
Click to collapse
i tried putting the themed systemui.apk in the original rom then flashing this on top, then removing clock in the toolbox and it still goes to gingerbread framework. are you saying i need to find those images in the systemui cause i dont think they were from stock bamf.........hmmmmmmm
I'm going to take a quick look at the clock and see what I can do aboutbgetting it black... If I can, ill let you know how.
adizzyx said:
i tried putting the themed systemui.apk in the original rom then flashing this on top, then removing clock in the toolbox and it still goes to gingerbread framework. are you saying i need to find those images in the systemui cause i dont think they were from stock bamf.........hmmmmmmm
Click to expand...
Click to collapse
the clock edit is in systemui.apk so you need to grab the one that has the clock removed already. then put both in your theme.
dhemke17 said:
I'm going to take a quick look at the clock and see what I can do aboutbgetting it black... If I can, ill let you know how.
Click to expand...
Click to collapse
cool, let me know, I appreciate it.
Ya i'm gonna look at doing the clock removal and systemui tomorrow, thanks for the help
adizzyx said:
cool, let me know, I appreciate it.
Ya i'm gonna look at doing the clock removal and systemui tomorrow, thanks for the help
Click to expand...
Click to collapse
Im pretty sure I know exactly what to edit and how, since it took me FOREVER to find out on vanilla bean...there are not that many differences between the services.jar and the SystemUI.apk status bar xmls...give me another 10 minutes and I should know if my change worked...I had to flash BAMF real quick.
-Testing now...got it....I will PM you an updated SystemUI.apk and explain in detail the changes I made...they were a little different but really quite easy
How to change clock color on Gingerbread rom:
1) Decompile SystemUI.apk using APKTool
2) Navigate to res/layout/statusbar.xml
3) find the line that looks like :
Code:
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
4) Add the color into this line...it will look like this with the color in bold...
Code:
<com.android.systemui.statusbar.Clock [B]android:textColor="#ff000000"[/B] android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="16.0sp" android:gravity="left|center" android:id="@id/clock" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
5) Recompile the apk
6) pull the modified statusbar.xml and put it in the original SystemUI.apk to prevent any errors with signing the rom.
Attached is the tweaked SystemUI.apk for your theme as well as a screenshot to show you what it looks like. You should be able to drop this right in your theme and call it a day...looks good man...keep up the good work.
dhemke17 said:
Im pretty sure I know exactly what to edit and how, since it took me FOREVER to find out on vanilla bean...there are not that many differences between the services.jar and the SystemUI.apk status bar xmls...give me another 10 minutes and I should know if my change worked...I had to flash BAMF real quick.
-Testing now...got it....I will PM you an updated SystemUI.apk and explain in detail the changes I made...they were a little different but really quite easy
Click to expand...
Click to collapse
Could you share with the rest of the class? Info could be useful to others at some point.
bad4u6669 said:
Could you share with the rest of the class? Info could be useful to others at some point.
Click to expand...
Click to collapse
I decided just to post it for everyone to see...luckies lol
looks really good! I've been looking for something like this. There use to be a theme for the OG droid that was ALL white and looked awesome.
Looks great!
dhemke17 said:
Im pretty sure I know exactly what to edit and how, since it took me FOREVER to find out on vanilla bean...there are not that many differences between the services.jar and the SystemUI.apk status bar xmls...give me another 10 minutes and I should know if my change worked...I had to flash BAMF real quick.
-Testing now...got it....I will PM you an updated SystemUI.apk and explain in detail the changes I made...they were a little different but really quite easy
How to change clock color on Gingerbread rom:
1) Decompile SystemUI.apk using APKTool
2) Navigate to res/layout/statusbar.xml
3) find the line that looks like :
Code:
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
4) Add the color into this line...it will look like this with the color in bold...
Code:
<com.android.systemui.statusbar.Clock [B]android:textColor="#ff000000"[/B] android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="16.0sp" android:gravity="left|center" android:id="@id/clock" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
5) Recompile the apk
6) pull the modified statusbar.xml and put it in the original SystemUI.apk to prevent any errors with signing the rom.
Attached is the tweaked SystemUI.apk for your theme as well as a screenshot to show you what it looks like. You should be able to drop this right in your theme and call it a day...looks good man...keep up the good work.
Click to expand...
Click to collapse
thank you, this is why i love android
adizzyx said:
thank you, this is why i love android
Click to expand...
Click to collapse
Yea...its definitely got its advantages over everything else in the market. Are you still looking make an update that removes the clock?
Yep, I'm going to look into that when I'm done working. Is that I'm the system ui when you do the clock removal?
not too sure. if you find out, let me know
dhemke17 said:
not too sure. if you find out, let me know
Click to expand...
Click to collapse
For sure, does my zip flash on your ROM? If not lets get one together for your peeps.
adizzyx said:
For sure, does my zip flash on your ROM? If not lets get one together for your peeps.
Click to expand...
Click to collapse
Haven't tried it, but we definitely should...I've been working on Vanilla Bean 2.0 all morning and am starting to spin circles around myself lol
I love the theme but two gripes.. there is a notification for messages, but it's white and thus does not show up on the bar but I know it's there because there's a space if you have a different type of notification.. and there's nothing that notifies you if you have 4G. I had 4G last night and there was either no icon by the signal bar or like the messages case.. it was white
otherwise it looks great
Ya I was thinking i forgot to put the 4g in, they colored and ready, what s the other one, the text message? I will have those fixed later today
Sent from my ADR6400L using XDA App

[Q] Clock Color Change?

Has anyone figured out how to change the clock color in the notification bar yet? UOT doesn't work for this, so we'll have to manually change it in services.jar
I'm think its in systemui if you decompile it you should find it in drawables not 100% sure though.
Read This
Versatile1 said:
I'm think its in systemui if you decompile it you should find it in drawables not 100% sure though.
Read This
Click to expand...
Click to collapse
I'm pretty sure you have to edit XMLs in the SystemUI to change any kind of text color.
You would be right, I believe the xml is located in the location mentioned above
Versatile1 said:
You would be right, I believe the xml is located in the location mentioned above
Click to expand...
Click to collapse
Yeah I don't mess with any of that. I just edit PNGs to make my phone LOOK more custom (its fun to show off haha)
For some reason though, on the bionic, when I edit PNGs with something like NinjaMorph, SystemUI FCs on startup.
I'm currently working on editing a flashable theme zip to include my edits, then gonna flash that and see what happens.
Tivo7 said:
Yeah I don't mess with any of that. I just edit PNGs to make my phone LOOK more custom (its fun to show off haha)
Click to expand...
Click to collapse
That's pretty much what I do. I started to learn to edit .jar and .xml files when I had my X but then other people released themes with the files I needed and I just kanged them instead. Now there is no base that I can find for liberty with the edits I need so I'm trying to learn it myself which will serve me better in the long run. If anyone knows a good noob friendly tutorial I'd love a link, all the ones I've found are a little over my head.
Don't know how to edit much more than some status bar framework. But a color change for the clock would be nice
Sent from my DROID BIONIC
inkdaddy66 said:
Don't know how to edit much more than some status bar framework. But a color change for the clock would be nice
Sent from my DROID BIONIC
Click to expand...
Click to collapse
On the bionic, status bar framework is in SystemUI, most of the framework is in Framework-res.apk
Tivo7 said:
Yeah I don't mess with any of that. I just edit PNGs to make my phone LOOK more custom (its fun to show off haha)
For some reason though, on the bionic, when I edit PNGs with something like NinjaMorph, SystemUI FCs on startup.
I'm currently working on editing a flashable theme zip to include my edits, then gonna flash that and see what happens.
Click to expand...
Click to collapse
reboot after editing systemui and you should be fine
Versatile1 said:
reboot after editing systemui and you should be fine
Click to expand...
Click to collapse
"On startup"
I did reboot.
I also tried editing a theme download and flashing it.
Everything worked but the notification pulldown picture...
Everything in framework-res works and everything in systemUI works EXCEPT that blasted notification pulldown PNG (status_bar_background.9)
Tivo7 said:
Everything worked but the notification pulldown picture
Everything in framework-res works and everything in systemUI works EXCEPT that blasted notification pulldown PNG (status_bar_background.9)
Click to expand...
Click to collapse
That's what I've found as well, I also can't get the shadow under the notification bar to show up.
Does any one know what the pngs are titled that flash while on a call?
I believe those are in blur-res or in the phone/dialer apk's depending on which images you're talking about

[REQUEST] Android L Status Bar Icons

Is it ported to an xposed module? Or anything? I want Android L like battery, wifi, mobile data icons...
agonfighter said:
Is it ported to an xposed module? Or anything? I want Android L like battery, wifi, mobile data icons...
Click to expand...
Click to collapse
There is a xposed module called Xstana, it has the android l navbar and statusbar icons as well as others like miui, lg g3, samsung galaxy, etc, try it
agonfighter said:
Is it ported to an xposed module? Or anything? I want Android L like battery, wifi, mobile data icons...
Click to expand...
Click to collapse
What device do you have? This is a N6 forum but of course N6 will have L status bar icons...
Looking at the Developer Preview, I'm not sure Lollipop actually has icons on the statusbar..
At least, not like the icons that came before. Normally the signal icons use a collection of PNG image files and you can use those image files in a different rom. As far as I can tell, Google have done what they did with the battery icon and the signal and wifi icons are now generated by code.
However, my theming tool has signal and wifi icons that look just like the Lollipop ones, so I've attached two zip's for you. They're not flashable zips, just ordinary archives.
Signal and wifi icons on TMA are great,but what about data icons ?
so, has anyone figured out how to theme the signal and/or LTE "icon" in lollipop?
as @Ticklefish pointed out, the signal/data icons apprear to be generated via XML code now. specifically, the data icon (LTE in my case) appears to be defined in SystemUI/res/drawable/stat_sys_data_fully_connected_lte.xml:
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="17.0dip" android:width="9.207977dip" android:viewportWidth="13.0" android:viewportHeight="24.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M2.000000,9.700000l2.000000,0.000000L4.000000,11.000000L0.300000,11.000000L0.300000,2.500000L2.000000,2.500000L2.000000,9.700000z" />
<path android:fillColor="#ffffffff" android:pathData="M8.300000,3.800000L7.000000,3.800000L7.000000,11.000000L5.300000,11.000000L5.300000,3.800000L4.000000,3.800000L4.000000,2.500000l4.300000,0.000000L8.300000,3.800000z" />
<path android:fillColor="#ffffffff" android:pathData="M12.400000,7.300000l-1.700000,0.000000l0.000000,2.400000l2.100000,0.000000L12.799999,11.000000L9.000000,11.000000L9.000000,2.500000l3.700000,0.000000l0.000000,1.300000l-2.100000,0.000000l0.000000,2.100000l1.700000,0.000000L12.300000,7.300000z" />
</vector>
i dunno how to edit this though, i'm used to simply replacing PNGs. anybody know how to work with this? all i want to dois change the "LTE" symbol to something of my choosing.
PhilDX said:
so, has anyone figured out how to theme the signal and/or LTE "icon" in lollipop?
as @Ticklefish pointed out, the signal/data icons apprear to be generated via XML code now. specifically, the data icon (LTE in my case) appears to be defined in SystemUI/res/drawable/stat_sys_data_fully_connected_lte.xml:
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="17.0dip" android:width="9.207977dip" android:viewportWidth="13.0" android:viewportHeight="24.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M2.000000,9.700000l2.000000,0.000000L4.000000,11.000000L0.300000,11.000000L0.300000,2.500000L2.000000,2.500000L2.000000,9.700000z" />
<path android:fillColor="#ffffffff" android:pathData="M8.300000,3.800000L7.000000,3.800000L7.000000,11.000000L5.300000,11.000000L5.300000,3.800000L4.000000,3.800000L4.000000,2.500000l4.300000,0.000000L8.300000,3.800000z" />
<path android:fillColor="#ffffffff" android:pathData="M12.400000,7.300000l-1.700000,0.000000l0.000000,2.400000l2.100000,0.000000L12.799999,11.000000L9.000000,11.000000L9.000000,2.500000l3.700000,0.000000l0.000000,1.300000l-2.100000,0.000000l0.000000,2.100000l1.700000,0.000000L12.300000,7.300000z" />
</vector>
i dunno how to edit this though, i'm used to simply replacing PNGs. anybody know how to work with this? all i want to dois change the "LTE" symbol to something of my choosing.
Click to expand...
Click to collapse
Those are changes made by decompiling SystemUI.apk if you're looking to replace PNG then open it up using a archive and replace the image.
zephiK said:
Those are changes made by decompiling SystemUI.apk if you're looking to replace PNG then open it up using a archive and replace the image.
Click to expand...
Click to collapse
yeah, I pulled that XML file out of SystemUI. handling of stausbar icons has been completely reworked in Lollipop and there are no PNGs for the LTE data indicator (as best as I can tell). think the three data strings define the symbol but I don't know how to manipulate the values. after looking around some more, it appears to be some sort of vector drawing and requires additional software to generate.
when im feeling adventurous, I'm going to try replacing the code with references to a PNG file and see what happens.
Ticklefish said:
Looking at the Developer Preview, I'm not sure Lollipop actually has icons on the statusbar..
At least, not like the icons that came before. Normally the signal icons use a collection of PNG image files and you can use those image files in a different rom. As far as I can tell, Google have done what they did with the battery icon and the signal and wifi icons are now generated by code.
However, my theming tool has signal and wifi icons that look just like the Lollipop ones, so I've attached two zip's for you. They're not flashable zips, just ordinary archives.
Click to expand...
Click to collapse
Hello , could you please resize icons in 39 X 36 , if I did it myself they are just deform, thank you .
EDIT : Problem solved , with Paint NET , thank .
No such app yet to replace 4.4 status bar with that of 5.0??
Sent from my XT1022 using XDA Free mobile app
how to get back the status bar wifi icon of kitkat? i dont like the FULL wifi icon in lollipop,thx
I Am Looking For This Code Thanks To Share It Here..
---------- Post added at 07:02 AM ---------- Previous post was at 06:58 AM ----------
Can I Aloso Get The .Xml Code Of Airplane mode,Auto-rotate And Some Others...

Categories

Resources