Related
Using DC v2.06. I have a clear lockscreen, as shown below. Right now the notifications come up transparent (missed call, etc) at the bottom of the screen. With the clear lock, it's very heard to read the text. Hence why I added the extra black bar at the bottom of the phone, to make them readable.
However, that bar is ugly at the bottom! Is it possible for someone to figure out a way, through the xml file, to add a black shadow to the white notification text, so that it will still be readable with a clear lockscreen? See the default date/time text on the default lockscreen for an example of what I'm after.
Any assistance is greatly appreciated! Thanks!
Xerxes321 said:
Using DC v2.06. I have a clear lockscreen, as shown below. Right now the notifications come up transparent (missed call, etc) at the bottom of the screen. With the clear lock, it's very heard to read the text. Hence why I added the extra black bar at the bottom of the phone, to make them readable.
However, that bar is ugly at the bottom! Is it possible for someone to figure out a way, through the xml file, to add a black shadow to the white notification text, so that it will still be readable with a clear lockscreen? See the default date/time text on the default lockscreen for an example of what I'm after.
Any assistance is greatly appreciated! Thanks!
Click to expand...
Click to collapse
You mean like this .
When no notifications:
Missed call:
Press while screen locked:
I applied a black background, 50% transparent, that will only appear when a notification message exists.
Replace the attached in your 'layout' folder and you are good to go (removed the .txt extension).
JsChiSurf said:
You mean like this .
When no notifications:
Missed call:
Press while screen locked:
I applied a black background, 50% transparent, that will only appear when a notification message exists.
Replace the attached in your 'layout' folder and you are good to go (removed the .txt extension).
Click to expand...
Click to collapse
YOU STOLE THAT FROM ME!!! hahaha Good work!
VinceOB said:
YOU STOLE THAT FROM ME!!! hahaha Good work!
Click to expand...
Click to collapse
Did you do that? I honestly didn't know! Credit to VinceOB for doing it first!
JsChiSurf said:
Did you do that? I honestly didn't know! Credit to VinceOB for doing it first!
Click to expand...
Click to collapse
hahaha Actually, in that particular .xml I made everything transparent.
VinceOB said:
YOU STOLE THAT FROM ME!!! hahaha Good work!
Click to expand...
Click to collapse
Wouldn't have wasted my time looking into if I knew you put it out there! Nice job
VinceOB said:
hahaha Actually, in that particular .xml I made everything transparent.
Click to expand...
Click to collapse
Everything transparent is basically the completely clear lockscreen, the above adds the shadow for when notifications appear, so that the text is more readable.
JsChiSurf said:
Everything transparent is basically the completely clear lockscreen, the above adds the shadow for when notifications appear.
Click to expand...
Click to collapse
Yea I know, I didnt do the shadow part. I was pulling a you know who...hahaaha
VinceOB said:
Yea I know, I didnt do the shadow part. I was pulling a you know who...hahaaha
Click to expand...
Click to collapse
Lol . 10chars
JsChiSurf said:
Lol . 10chars
Click to expand...
Click to collapse
That deodex didnt go so well...LOL Ive decided to move on to some .xml's... LOL
VinceOB said:
That deodex didnt go so well...LOL Ive decided to move on to some .xml's... LOL
Click to expand...
Click to collapse
Still want me to send you a link? As mentioned, it should only be necessary to get a booting ROM, to do your work, then convert back. Let me know.
JsChiSurf said:
Still want me to send you a link? As mentioned, it should only be necessary to get a booting ROM, to do your work, then convert back. Let me know.
Click to expand...
Click to collapse
yea send it...
JsChiSurf said:
You mean like this .
....
Replace the attached in your 'layout' folder and you are good to go (removed the .txt extension).
Click to expand...
Click to collapse
Awesome. Thank you so very much! I'll have to try this in the morning.
I seem to be having a problem that I didn't notice before using this...
When my alarm goes off, I can't disable it from the lockscreen. I have to unlock my phone before I can shut off the alarm.
JsChiSurf, could you let me know if you have the same issue? I'm not saying 100% sure that this is what caused it, but it's the only change I've made recently.
Thanks!
How are you guys editing the .xml files?
seyer0686 said:
How are you guys editing the .xml files?
Click to expand...
Click to collapse
Good question, the files are in some odd format that I do not know how to work with.
Nanan00 said:
Good question, the files are in some odd format that I do not know how to work with.
Click to expand...
Click to collapse
The XML files are compiled binaries. You have to use a hexeditor to modify / patch the locations in the binary you wish to change.
Is anyone else having the alarm issue with this? I have to unlock my lockscreen in order to turn off the alarm.
Just wondering if someone is already working on changing the lockscreen sliders to a glossy black, moto sliders are fugly. I have seen many posts for people requesting this in other threads and being a noob to theming I have no idea where to start.
What is the name of the file that needs to be modified and in which .apk is it located? I might make this my first "theme" project if I find the file and if this has not already been done.
The sliders are part of framework. Pull framework-res.apk from /system/framework and open the apk in any zip program like 7zip or WinRAR. Then look in the drawable-hdpi and drawable-land-hdpi folders and you should see the sliders. Then edit in Photoshop or something. Put back in framework-res.apk then push back to the phone and reboot.
Explodee said:
The sliders are part of framework. Pull framework-res.apk from /system/framework and open the apk in any zip program like 7zip or WinRAR. Then look in the drawable-hdpi and drawable-land-hdpi folders and you should see the sliders. Then edit in Photoshop or something. Put back in framework-res.apk then push back to the phone and reboot.
Click to expand...
Click to collapse
Not that simple...they're .9.png's. if you just edit them in photoshop they'll mess things up and not turn out right.
Even with just simply changing the color?
Sent from my DROIDX using XDA App
MXMike said:
Even with just simply changing the color?
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
nope.. when saved in photo editor it loses its .9 properties...
have to used draw9patch in android sdk to apply guides..
just decompile original apk with apktool or apkmanager to get the original showing you where the guides are located
I changed the colors of the sliders from the dark green whatever color to red using photoshop and they work fine.
Explodee said:
I changed the colors of the sliders from the dark green whatever color to red using photoshop and they work fine.
Click to expand...
Click to collapse
You got lucky somehow. All .9's have a 1 pixel border that exist as guides to the OS of where to stretch and where to anchor the image. Changing the color can remove/alter these guides. Rarely can you just change the color of a .9 and expect it to work/appear as it should. I would look at the thread with the how to video for draw9patch if you want to edit the lock sliders or any other .9 image.
Thanks for the info.
Sent from my DROIDX using XDA App
Something like this?
BTW this if fully functional, drop it in your framework (rename it!) and push it. If its what you need let me know, ill finish the rest.
Black sliders
If you see page four ... Clear / cant see sliders
you might be able to use ninja morph to apply these, or you need to know how to add files to an apk and push back. These go in framework-res.apk/res/drawable-hdpi
Dont add these to a decompiled apk! drop these straight into the apk with your perfered method.
Yeah that is what im looking for...if you wanna finish em that would be awesome!
Sent from my DROIDX using XDA App
MXMike said:
Yeah that is what im looking for...if you wanna finish em that would be awesome!
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
shoot me a pm with your email, wont have em to ya till 3-4. Unless someone beats me to em.
bad4u6669 said:
Something like this?
BTW this if fully functional, drop it in your framework (rename it!) and push it. If its what you need let me know, ill finish the rest.
Click to expand...
Click to collapse
I downloaded your theme and you successfully changed the color, but the slider doesnt slide. But it is still functional. Just doesnt actually show the bar sliding. This is where the .9.png comes into play
My current update.zip that's up right now? The sliders in that don't work? Every one else reports no problems. Could you be more specific.
Sent from my DROIDX using Tapatalk
I just decompiled my whole theme and checked the sliders. They are compiled and working correctly. Something might of went screwy on your install.
Sent from my DROIDX using Tapatalk
bad4u6669 said:
I just decompiled my whole theme and checked the sliders. They are compiled and working correctly. Something might of went screwy on your install.
Sent from my DROIDX using Tapatalk
Click to expand...
Click to collapse
lol, nevermind. I was thinkin you did Froyo Dynomite. The slider doesnt slide in that one.
You can easily changed the color of the sliders. But you have to decompile first. If you just unzip the apk it loses the 9 patch info(see below). If you have a theme and the slider does not slide then this is the reason.
Natemz said:
lol, nevermind. I was thinkin you did Froyo Dynomite. The slider doesnt slide in that one.
Click to expand...
Click to collapse
Ahh crap you're right. I never noticed because I always use WidgetLocker. I fixed the notification font and now I'll get going on fixing the sliders. Update will be tonight.
black sliders sent, post up a screen shot after you get them on your phone.
Any way I can get the black sliders from you as well?
phissionkorps said:
Any way I can get the black sliders from you as well?
Click to expand...
Click to collapse
As long as you can post a pic after you apply them. pm me with an email addres to send them too.
I was wondering if there is a way to reverse icon colors in the status bar. I just downloaded a black status bar and a lot of the icons blend into the black bar (if that makes sense).
If anyone can help me out, thanks. I don't know anything at all about coding and very little about the root process, so a Metamorph option would be the easiest way for me, although I can figure out theming.
Maybe you like those...http://forum.cyanogenmod.com/topic/...tatusbar-icons/page__view__findpost__p__33425
rori~ said:
Maybe you like those...http://forum.cyanogenmod.com/topic/...tatusbar-icons/page__view__findpost__p__33425
Click to expand...
Click to collapse
I saw those. I wasn't quite sure if it changes the Messaging, Gmail, Voice and other icons since all I see is the USB and USB Tethering icons. Do you know if those are changed?
Haven´t checked that...best, open file and have a look before you morph.
rori~ said:
Haven´t checked that...best, open file and have a look before you morph.
Click to expand...
Click to collapse
Wow that is a great idea. I never thought of that haha (still brand new to this stuff). Well, unfortunately it doesn't have icons for Messaging, Gmail and a few others. Thanks for the idea though. Now I know I can check.
Any other ideas?
Anyone know of anything else to do?
Shameless bump because I really want this.
There is a desire morph around somewhere, locate the files or images you want and I can make a morph, just need to know what rom and icons.
Also bumping. Now that CM has theming, I think someone should have one out.
Use ninja morph and inverse the images u want in framework-res.apk ...really easy
Sent from my Nexus One using XDA App
Made this one a while back...
http://forum.xda-developers.com/showthread.php?t=766561
martin0285 said:
Use ninja morph and inverse the images u want in framework-res.apk ...really easy
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
I checked out ninja morph. You're right, it does exactly what you said...EXCEPT you have to modify every icon individually, which ends up being an enormous pain.
Also, I could have missed something but how do you inverse icons directly on the phone? I looked around and still couldnt find anything. Ended up transfering them to the pc and editing them from there.
In the end, I'm just amazed that android doesn't have a unified icon / theming system yet. To edit messages, you have to go in to mms.apk (took me forever to figure that one out), to edit gmail you have to look in gmail.apk, system icons were in framework, etc. What a pain.
I've been theming small aspects of JVB, specifically Perception II. I've tried to theme the background of the music controls inside the status bar drawer. On Froyo ROMs, I could just throw a modified png into the zip. Now, I do that and it's still purple. I even decompiled and recomplied with the new pngs, but it doesn't work. Any ideas on what to do? I attached the modded files below. Thanks!
Are you replacing the ones in twframework-res.apk?
Sent from my GT-I9000 using XDA fap
modest_mandroid said:
Are you replacing the ones in twframework-res.apk?
Sent from my GT-I9000 using XDA fap
Click to expand...
Click to collapse
Of course. I opened them in Photoshop and edited and put them back into twframework. Thing is, I've done this before very successfully modifying themes on Froyo.
Wacky.. dunno dude, I'll give it a shot later tonight and see if I can get it to work if the wife doesn't burglarize all my time.
modest_mandroid said:
Wacky.. dunno dude, I'll give it a shot later tonight and see if I can get it to work if the wife doesn't burglarize all my time.
Click to expand...
Click to collapse
Wow thanks a lot man
Yeah, that's weird.. changing the png's doesn't seem to affect what actually shows up. Makes you wonder if it's grabbing them from somewhere else entirely..
Edit: I was right! Check out /system/app/MusicPlayer.apk, it has it's own set of status bar png's. I haven't tried replacing them myself yet, but I have a strong feeling that those are the ones you should be changing as opposed to the ones in twframework-res.apk. Samsung seems to enjoy scattering their graphics around.. there are also a couple pertinent to the status bar and dropdown shade in SystemUI.apk and Phone.apk.
Good luck, dude! Let me know if those were the correct ones!
modest_mandroid said:
Yeah, that's weird.. changing the png's doesn't seem to affect what actually shows up. Makes you wonder if it's grabbing them from somewhere else entirely..
Edit: I was right! Check out /system/app/MusicPlayer.apk, it has it's own set of status bar png's. I haven't tried replacing them myself yet, but I have a strong feeling that those are the ones you should be changing as opposed to the ones in twframework-res.apk. Samsung seems to enjoy scattering their graphics around.. there are also a couple pertinent to the status bar and dropdown shade in SystemUI.apk and Phone.apk.
Good luck, dude! Let me know if those were the correct ones!
Click to expand...
Click to collapse
Is SystemUI.apk new to Gingerbread? I'll look into it.
God THANK YOU, that's an amazing find and so useful to me! I am SO GRATEFUL. Damn, Samsung isn't the most efficient company of coders. Putting lockscreen music control backgrounds in framework-res and status bar ones in music apk? Wow.
SystemUI.apk handles all the notification bar/dropdown stuff and all of those images are used instead of what's in twframework-res.apk now (GB).
The background and buttons for the dropdown are in MusicPlayer.apk though. Crazy.
So apparently the toggle PNGs in SystemUI.apk are locked, so they cannot be edited in Photoshop and lose their transparency. Sucks....
Yeah, kinda sucks. I grabbed a screenshot of Explorer with large thumbnails, copied each one and inverted them so they're smoothed to black background, made black transparent, then changed the color. It works out ok I guess.
CuriousTech said:
Yeah, kinda sucks. I grabbed a screenshot of Explorer with large thumbnails, copied each one and inverted them so they're smoothed to black background, made black transparent, then changed the color. It works out ok I guess.
Click to expand...
Click to collapse
They still turn out jagged because the originals, using transparency, are smoothed. I think I can get someone to fix that...
If anyone is interested, I am recreating a lot of the elements by hand. It's HARD OH MY GOD, some pieces require 7 layers of separate transparencies i have to match to the originals. But I'm making a theme, just modded stock for now but I'll be working on it for a while. I'll make a thread soon!
So ALL the battery icons are locked... I downloaded a random GB theme and took out the battery icons, and those are locked too. Decompiled framework, still locked. What the hell???? How do I mod them?!
I figured most stuff out now. Except how to change the status bar background. I put it into SystemUI.apk (2 different names), framework, and twframework. Nothing works. Any clues?
Haloruler64 said:
So ALL the battery icons are locked... I downloaded a random GB theme and took out the battery icons, and those are locked too. Decompiled framework, still locked. What the hell???? How do I mod them?!
Click to expand...
Click to collapse
How'd you solve this?
Haloruler64 said:
I figured most stuff out now. Except how to change the status bar background. I put it into SystemUI.apk (2 different names), framework, and twframework. Nothing works. Any clues?
Click to expand...
Click to collapse
Check SystemUI.apk drawable-hdpi directory, also check the values directory, there's one xml in there that defines the background color for the dropdown shade.
Edit: nevermind, changing that xml does nothing
Haloruler64 said:
Is SystemUI.apk new to Gingerbread? I'll look into it.
God THANK YOU, that's an amazing find and so useful to me! I am SO GRATEFUL. Damn, Samsung isn't the most efficient company of coders. Putting lockscreen music control backgrounds in framework-res and status bar ones in music apk? Wow.
Click to expand...
Click to collapse
Half of it is left over Google crap, half of it is left over Samsung Froyo crap, and half of it is actually being used.
It's quite the mess.
Haloruler64 said:
If anyone is interested, I am recreating a lot of the elements by hand. It's HARD OH MY GOD, some pieces require 7 layers of separate transparencies i have to match to the originals. But I'm making a theme, just modded stock for now but I'll be working on it for a while. I'll make a thread soon!
Click to expand...
Click to collapse
Why aren't you using the originals? Is it because they're Index images that don't open properly? If so, open them with Adobe Fireworks, save them, then open them in whatever else.
res\layout\status_bar_tracking.xml has the background color. Change to image:
<View android:background="@drawable/status_bar_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
Copy the file from the theme in my sig if you need a working reference. It has no clock in the bar and no text in the toggles as well.
MikeyMike01 said:
Half of it is left over Google crap, half of it is left over Samsung Froyo crap, and half of it is actually being used.
It's quite the mess.
Click to expand...
Click to collapse
3 halves, it must be all kinds of messy!
modest_mandroid said:
How'd you solve this?
Click to expand...
Click to collapse
GIMP, convert to RGB, then it works. But GIMP has no real batch mode, like Photoshop. Which sucks.
MikeyMike01 said:
Why aren't you using the originals? Is it because they're Index images that don't open properly? If so, open them with Adobe Fireworks, save them, then open them in whatever else.
Click to expand...
Click to collapse
Yeah that's why originally. Can you open 171 files in Fireworks and save them automatically? I don't wanna do that for all the status bar stuff individually.
Also I have to get Fireworks.
CuriousTech said:
res\layout\status_bar_tracking.xml has the background color. Change to image:
<View android:background="@drawable/status_bar_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
Copy the file from the theme in my sig if you need a working reference. It has no clock in the bar and no text in the toggles as well.
Click to expand...
Click to collapse
Wow thanks! I'll do that now.
EDIT: Using APK Manager 4.9, I keep getting errors while decompiling SystemUI.apk. Any reason or special method to decompile it?
So I am sure many of you have noticed that when you decompile ClockPackage.apk or SecContacts_Phone_FLAGSHIP_USA.apk you see a bunch of PKM image files. I have managed to replace most of them with PNG files and sucessfully theme both APK's.
Here is a link to both of my ASU Sun Devil themed ClockPackage.apk and SecContacts_Phone_FLAGSHIP_USA.apk. http://d-h.st/q5D
You are welcome to theme them as you see fit. I spent over 100 hours on these. PS: the text color code I use is ffffb310 hex and -0x4cf0 smali. There are some smali edits in ClockPackage. None in Contacts.
Thanks for looking!!!
Enjoy!!!
Ok, I'm stumped. I took ALL the images from XXHDPI and vrthemed them into another SecContacts_Phone_FLAGSHIP_USA.apk file and it didn't appear to do anything except maybe change the statusbar.
I pulled the apk just to be certain and sure enough, the themed png files were there. Any ideas?
tdunham said:
Ok, I'm stumped. I took ALL the images from XXHDPI and vrthemed them into another SecContacts_Phone_FLAGSHIP_USA.apk file and it didn't appear to do anything except maybe change the statusbar.
I pulled the apk just to be certain and sure enough, the themed png files were there. Any ideas?
Click to expand...
Click to collapse
You can't do that. The PKM files will still exist. You must morph the whole folder if you are going to do that so it erases the stock one.
Best way is to just decompile and theme it. Use my APK's as a base.
EMSpilot said:
You can't do that. The PKM files will still exist. You must morph the whole folder if you are going to do that so it erases the stock one.
Best way is to just decompile and theme it. Use my APK's as a base.
Click to expand...
Click to collapse
Ahhh!!! Gotcha. Totally forgot about that. I don't do a lot of theming I work on other development stuff mainly but this particular release is going to keep us busy for a while I think. LOL
Dev Edition?
Ok figured out that your contacts apk flashes and works fine on the Sprint S5 variant btw (very nice, this could come in handy later).
However, it does not play nice with apktool 2.0x so I decompiled it with apktool 1.5.2 and it 'almost' recompiled fine except for an apktool dummy error that was being generated by res/drawable/select_all_item_bg.xml. The resource is definitely there but it gave it that value for this line anyway.
Code:
<item android:state_pressed="true" android:drawable="@*android:drawable/APKTOOL_DUMMY_0b03" />
To correct for that, I pulled the stock select_all_item_bg.xml, copied right over the decompiled one with the apktool dummy code (I know I could have just fixed the line but whatever ) and it now recompiles perfectly. I am attaching that file for anyone that may have issues. This xml file is ALREADY decompiled.
Edit: EMSPilot, I heard you got the original images from the S4. You don't still happen to have an stock/unthemed version of contacts we can work from do you ?
Dev Phone
Dennisg34 said:
Dev Edition?
Click to expand...
Click to collapse
Yes Dev Edition
Awesome mate, I was going crazy looking for ways to thematize these PKM files.
Tested and works perfect s5 International. :laugh::laugh:
Thanks and regards.:good:
Hello guys, someone can tell me how to change the log window colors? I can not find ?
Thanks
Spinner
BoBCatRoM said:
Hello guys, someone can tell me how to change the log window colors? I can not find ?
Thanks
Click to expand...
Click to collapse
That would be a tw_spinner in framework-res. Not sure which one as I always theme them all.
EMSpilot said:
That would be a tw_spinner in framework-res. Not sure which one as I always theme them all.
Click to expand...
Click to collapse
thanks, I try to see in the framework
This is awesome work. Would love to see someone develop a dark contacts and SMS stock app darkened too. If anyone can do sothat would be awesome. But not dark MMS like the old school stuff but dark MMS with ways to change the bubble colors too. Would love to see where this goes thanks again devs
Of course we can make dark contacts, lol. Working on some now
Sent from my SM-G900P using Tapatalk
EMSpilot said:
So I am sure many of you have noticed that when you decompile ClockPackage.apk or SecContacts_Phone_FLAGSHIP_USA.apk you see a bunch of PKM image files. I have managed to replace most of them with PNG files and sucessfully theme both APK's.
Here is a link to both of my ASU Sun Devil themed ClockPackage.apk and SecContacts_Phone_FLAGSHIP_USA.apk. http://d-h.st/q5D
You are welcome to theme them as you see fit. I spent over 100 hours on these. PS: the text color code I use is ffffb310 hex and -0x4cf0 smali. There are some smali edits in ClockPackage. None in Contacts.
Thanks for looking!!!
Enjoy!!!
Click to expand...
Click to collapse
Do you also theme /system/app/InCallUI.apk? That's the contacts screen during a phone call.
InCallUI
blulite said:
Do you also theme /system/app/InCallUI.apk? That's the contacts screen during a phone call.
Click to expand...
Click to collapse
Yes of course I theme InCallUI.apk.
i decided that i would try and make a theme for the tmo s5 varient even tho i do not have the device and boy i had no idea what i got myself into when it was time to theme contacts!!! i have never seen anything like this over my past years theming the s2-s4 and note 3! i was like a pkm what??? i was able to edit in my own images for dialer buttons and dialer bg but stopped there! lol. I was truly amazed when coming across this thread and just wanted to take my hat off to you! i have a question tho... sorry if you already answered for i attempted to search for the answer in this thread but am still a little confused.. so again how did you replace the pkm with a png? just by using another seccontacts image and replacing the pkm with the png?? i doubt thats how because you would have to change it in the values folder or something like that correct? kinda like i and i also saw you figured out how to edit our own dialer button image? ive just been so stumped with these pkms that i am like i need to know how you did it! lol.
@EMSpilot
Great work in here Sir..... made couples adjustment for AT&T S5 SM-G900A And everything look good....
EDIT: Sept 15
Hi Bill @EMSpilot
I really appreciated all your guide and pointers