Help so have been trying to teach myself how to theme a rom and can edit PNG files all night long but seem to be spending all my time with simple color changes so any body know how I can just edit the color XML files so it changes all the default colors at once or am I doing it right and have to change all the PNG files???? I'm new to eclipse so would need to know what plug in I need to do this if at all possible thanks
Sent from my HTC Glacier using XDA Premium App
kaufmanj67 said:
Help so have been trying to teach myself how to theme a rom and can edit PNG files all night long but seem to be spending all my time with simple color changes so any body know how I can just edit the color XML files so it changes all the default colors at once or am I doing it right and have to change all the PNG files???? I'm new to eclipse so would need to know what plug in I need to do this if at all possible thanks
Sent from my HTC Glacier using XDA Premium App
Click to expand...
Click to collapse
Yes you have to manually change all the images from what I've read and then you have to do the .9 png trick to edit them not really familiar with editing the .9 images so cant say much on that but im not aware of using xml to change the actual images it only applys directions for the images.
would this help? http://forum.xda-developers.com/showthread.php?t=883392
kevin2516 said:
would this help? http://forum.xda-developers.com/showthread.php?t=883392
Click to expand...
Click to collapse
That's what I needed thanks will hit the button next time I'm on my PC would've been nice to have that option with this new app
Sent from my HTC Glacier using XDA Premium App
Related
Can anyone help me by telling me where the files are located to edit the notification pulldown? I am looking to change colors, transparency, etc.
I am trying my hand at theming JVH.
Thanks
Search google for "uot" and check out the online theme kitchen.
Sent from my GT-I9000 using Tapatalk
System ui apk
Sent from my Samsung Captivate
Sounds interesting, I went into the System ui apk, and opened "res" folder, then "drawable-hdpi", and found what I believe to be the right file, "status_bar_background.png" is this the correct file to edit for say, changing the transparency in gimp or photoshop?
I, like vdubguy, would like to know how to do this without using the kitchen.
bigsmitty64 said:
Sounds interesting, I went into the System ui apk, and opened "res" folder, then "drawable-hdpi", and found what I believe to be the right file, "status_bar_background.png" is this the correct file to edit for say, changing the transparency in gimp or photoshop?
I, like vdubguy, would like to know how to do this without using the kitchen.
Click to expand...
Click to collapse
With the new system ui API you ,have to decompile the apk and change a value as it points the background to a color code and not the image. Once you change that then you can change the image to add transperncy. You will also have to decompile it to make color changes as well
zelendel said:
With the new system ui API you ,have to decompile the apk and change a value as it points the background to a color code and not the image. Once you change that then you can change the image to add transperncy. You will also have to decompile it to make color changes as well
Click to expand...
Click to collapse
Ahhh....Thanks Zel. Looks like we got some us some learnin to do
I have to say that, after spending a couple hours just looking around in the rom, trying to find things and figure out what is what, I have a whole new respect for all you devs and themers in here. My hat is off. Thank you.
xml
Ok I figured out what to change but can't seem to edit the xml. Any tips?
vdubguy said:
Ok I figured out what to change but can't seem to edit the xml. Any tips?
Click to expand...
Click to collapse
decompile w/ apk manager and use notepad++ to edit
When you get it figured out, could you do everyone a solid and post the updated files and where they should go? I'd be your bestie for life!
Sent from my GT-I9000 using XDA Premium App
Thanks Thinkk!
tnt533 said:
When you get it figured out, could you do everyone a solid and post the updated files and where they should go? I'd be your bestie for life!
Sent from my GT-I9000 using XDA Premium App
Click to expand...
Click to collapse
I'll do my best but it might be a while!
Hello, I bought Sonny Sekhon's Lucid Theme from the market and it's almost perfect for me. EXCEPT the pull down notification. How do I edit it so that it would look like the pulldown from minimalbread? It's the only thing I want to change from Lucid.
I also got the MellowYellow theme but I want to change it so that the horizontal dividers in menu are transparent or black (as long as I dont see them. ) Please see attached screenshot.
You would have to decompile the .apk then recompile it.
MIUI themes are much easier to mod
Nah you could edit it without d compiling with winzip. Just open the apk in winzip and swap the files out.
Sent from my Nexus S MV from the XDA Premium app.
Those lines are more than likely .9 PNG files. In my experience swapping files in winzip causes errors, but I guess that works too
Sent from my Nexus S using xda premium
nbeebe24 said:
Those lines are more than likely .9 PNG files. In my experience swapping files in winzip causes errors, but I guess that works too
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
I've never had a problem. Done it many many times.
Sent from my Nexus S MV from the XDA Premium app.
Also they are nine patches.
Hey guys,
So I decided to take a stab at altering SystemUI.apk to uncenter the clock, but I've run into some problems. Just FYI, I am total noob at this so I could be doing something incredibly stupid, but oh well.
Anyway, I was able to successfully decompile the apk, edit res\layout\status_bar.xml to set <com.android.systemui.statusbar.Clock... android:gravity="right">, build the apk again, sign it, and push it to my phone, however after all that the status bar just does not show up. I don't think it's the decompiling, building, or signing that's messing up because I performed all of those without editing any of the xml files, pushed it to my phone, and everything worked perfectly.
So what am I missing? Is changing "center" to "right" really enough to kill the statusbar? Do I need to edit something in framework-res.apk or some other file to be compatible with the new SystemUI.apk? Or is it that I need to change something in the smali folders as well as the res folders for it to work?
Any ideas that you guys have would be awesome. I'm not sure if I'm just missing something simple, or if I'm in way over my head with this stuff and need to do more than the hour and a half research and trial and error that I've put in so far =) Thanks guys!
There's a bit more to it than that
There's some moving around to do too.
I attached the original status_bar.xml for you to compare to. (it's already decompiled)
If you wanted you could just replace it with this one. Thought it might help to see what all was changed.
(the attached zip file is not flashable)
Don't sign system apps either. Signing may be why it isn't showing up but I've never signed a system app to know and without looking at it I think you need to put right|center not just right and I am not positive but you may need to move the padding of the status bar icons to the left so there is no overlap.
Sent from my Galaxy Nexus using xda premium
Easy guys. Just take a stock systemui.apk and move /res/layout/status_bar.xml over to the modded one. Then push. Don't even need to decompile.
Sent from my VS920 4G using Tapatalk 2
mtmichaelson said:
Easy guys. Just take a stock systemui.apk and move /res/layout/status_bar.xml over to the modded one. Then push. Don't even need to decompile.
Sent from my VS920 4G using Tapatalk 2
Click to expand...
Click to collapse
Hey its he wanted to do it himself
Sent from my Galaxy Nexus using xda premium
MT makes it look like a walk in the park...lol
mtmichaelson said:
Easy guys. Just take a stock systemui.apk and move /res/layout/status_bar.xml over to the modded one. Then push. Don't even need to decompile.
Sent from my VS920 4G using Tapatalk 2
Click to expand...
Click to collapse
capt730 said:
MT makes it look like a walk in the park...lol
Click to expand...
Click to collapse
Well his method really is a walk in the park if you can move one file to another lol.
Sent from my Galaxy Nexus using xda premium
Hmm, something is still wrong. I tried editing the status_bar.xml again, but the status bar still wouldn't show up. Then I deleted the file that was there and pasted in the stock status_bar.xml that Kane posted, pushed it to my phone, and still no status bar/notification pull down. Am I not compiling the apk right?
I'll be on IRC for the next 40 minutes or so if anyone wants to hop on and help me out =)
Did you compile the apk after replacing the XML?
Sent from my VS910 4G using Tapatalk 2
Yup, I actually finally got it to work and just need to tweak a couple things. I took the SystemUI.apk from the latest ICK.zip update, modified the SystemUI.apk file, then created a flashable zip for it. I don't know if it was using a flashable zip that worked, where just using adb push didn't, or if starting over with a different SystemUI.apk was what did it.
@kane: BTW, do you know the hex color code for your ICK theme icons? I was trying to match the color for the clock, but it's slightly off. And Thanks for the stock apk, without comparing the two, I never would have figured out the format for putting the clock back =)
@beamer: Thanks for the heads up to not sign the apk, worked without doing so. That was an annoying step anyway =)
the stock ICS colors are 33B5E5 and 0099CC
I used 33B5E5 for all the edits I did in the ICK theme
0099CC is a little bit darker
I didn't read the whole post but after pushing systemui did you reboot if you don't reboot you won't get a statusbar
Sent from my Galaxy Nexus using xda premium
Beamer9408 said:
I didn't read the whole post but after pushing systemui did you reboot if you don't reboot you won't get a statusbar
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
I did. I'm thinking the problem was actually the dalvik-cache, maybe? After i got the clock right aligned, i tried to hide some of the status icons like mute and the alarm clock, but i couldn't get any of them hidden and it was driving me crazy. Then i decided to wipe dalvik and it worked perfectly.
Sent from my VS910 4G using xda premium
I'm using CM7 as the base rom. And, i want to change the Lock Pattern Screen to be like ICS, like the one attached.
What xml do i need to modify, and what lines am i supposed to edit.
Please provide feedback as soon as possible.
Thanks.
No attachments?
Prawesome said:
No attachments?
Click to expand...
Click to collapse
Oh. Forgot. :silly: :banghead:
Will attach soon.
Copy pngs
Sent from my GT-S5830 using xda premium
CoolCatGetHome said:
Copy pngs
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Yep...In framework-res.apk,search for them
Noo. Not the picture of the circle.
I want to enlarge the space to use the lock pattern.
It's kind of small on CM7. And the date and time take up too much space.
So i want to resize the space that the date and time take, and enlarge the lock pattern.
What xml's am i supposed to mod.
Thanks.
masterex567 said:
Noo. Not the picture of the circle.
I want to enlarge the space to use the lock pattern.
It's kind of small on CM7. And the date and time take up too much space.
So i want to resize the space that the date and time take, and enlarge the lock pattern.
What xml's am i supposed to mod.
Thanks.
Click to expand...
Click to collapse
Oh xml editing it is then remove date and am pm
Sent from my GT-S5830 using xda premium
CoolCatGetHome said:
Oh xml editing it is then remove date and am pm
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Ok. So in this case, i'm supposed to mod keyguard_screen_unlock_portrait.xml.
I want to edit the margin. So I guess i manually delete the date and clock. But how do i extend the lock pattern.
I delete the whole Relative Layout?
And In lock pattern am i supposed to reset the margins?
I've attached the .xml for reference, if you can tell me what to mod, it will be appreciated.
Thanks.
Any answers?
Gude is on xda i cant do much now was busy with cyanmobile ( got working version my own) and USR rom and also my day jobs
Sent from my GT-S5830 using xda premium
CoolCatGetHome said:
Gude is on xda i cant do much now was busy with cyanmobile ( got working version my own) and USR rom and also my day jobs
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Yup. I'll look for it. Don't want to interfere with your work.
Waiting for USR. I know its going to be awesome.
All the Best.
do i use the windows notepad to edit the files?
dream2011 said:
do i use the windows notepad to edit the files?
Click to expand...
Click to collapse
No..Notepad++
not only notepad was the problem but also file was compiled.
so i had to decompile it and then i was able to modify it using Notepad++
Thanks!
I would like to learn what is needed to be changed in a ROM/apps in order to get the blackedout / inverted look. I'm I'm wanting to do this on a cm10.1 based ROM and I know how to use apktool and other just not sure what to edit in the .XML files. I have made changes in colors.XML and drawable.XML but for some reason it does nothing for me.
Have searched and found plenty on theming but none really get in to the .XML part of.
I know there are themes and inverted gapps already out there but would still like to learn how its done.
Any help would be great and I know how to use the thanks button...
Sent from my GT-N7000 using XDA Premium HD app
Go to frameworks/base/core/res/res/drawable/background_holo_dark.xml and change android:endColor value to
android:endColor="#ff000000"
prior to compile.
Sent from my GT-P7300 using xda premium
mithun46 said:
Go to frameworks/base/core/res/res/drawable/background_holo_dark.xml and change android:endColor value to
android:endColor="#ff000000"
prior to compile.
Sent from my GT-P7300 using xda premium
Click to expand...
Click to collapse
Thanks I will give that a try and see what happens
Sent from my GT-N7000 using XDA Premium HD app
How about blacking out the menus like power menu they are still gray popup when you press menu button and stuff of that nature
Sent from my GT-N7000 using XDA Premium HD app
ttibbetts83 said:
How about blacking out the menus like power menu they are still gray popup when you press menu button and stuff of that nature
Sent from my GT-N7000 using XDA Premium HD app
Click to expand...
Click to collapse
I don't have my build machine now after 2 weeks I will reply you .and sent me your gtalk address thru pm . we can chat
Sent from my GT-P7300 using xda premium
Well,pls post solutions if you find one as this university is for learning and I guess many would love to learn that!
Sent from my MT11i using xda premium
Ghostfreak NB said:
Well,pls post solutions if you find one as this university is for learning and I guess many would love to learn that!
Sent from my MT11i using xda premium
Click to expand...
Click to collapse
The solution is he got things inverted.
Now he wants more and I don't have my build machine now to say him More
Sent from my GT-P7300 using xda premium
mithun46 said:
The solution is he got things inverted.
Now he wants more and I don't have my build machine now to say him More
Sent from my GT-P7300 using xda premium
Click to expand...
Click to collapse
how would i get the greys in the menus to black ave been look and trying different thinks but no luck
seems that blackingout of roms and apps is not something anyone is welling to shear
ttibbetts83 said:
seems that blackingout of roms and apps is not something anyone is welling to shear
Click to expand...
Click to collapse
It's probably something you'll need to spend a bit of time Googling about.
XperienceD said:
It's probably something you'll need to spend a bit of time Googling about.
Click to expand...
Click to collapse
I have
Sent from my GT-N7000 using XDA Premium HD app
mithun46 said:
Go to frameworks/base/core/res/res/drawable/background_holo_dark.xml and change android:endColor value to
android:endColor="#ff000000"
prior to compile.
Sent from my GT-P7300 using xda premium
Click to expand...
Click to collapse
The above quote is good for changing the background of the settings list and the background of the setup when first install. If you want to get rid of the grey that is in the menus the more needs to be changed and its all found in framework-res.apk in the res/drawable xhpi folder in the form of .PNG or .9.PNG files and they include BG. Or background in the names menu_background.9.PNG is one for example.
Now onto next change how to change clock color in status bar. Just doing it one at a time sence the info is very hard to fine and not much help on it, will keep updating as I find the answers. Just exploring through files and change stuff to see what happens.
Sent from my GT-N7000 using XDA Premium HD app
ttibbetts83 said:
The above quote is good for changing the background of the settings list and the background of the setup when first install. If you want to get rid of the grey that is in the menus the more needs to be changed and its all found in framework-res.apk in the res/drawable xhpi folder in the form of .PNG or .9.PNG files and they include BG. Or background in the names menu_background.9.PNG is one for example.
Now onto next change how to change clock color in status bar. Just doing it one at a time sence the info is very hard to fine and not much help on it, will keep updating as I find the answers. Just exploring through files and change stuff to see what happens.
Sent from my GT-N7000 using XDA Premium HD app
Click to expand...
Click to collapse
thats real devving