Need help about theming in general. - Android

I know all the basics about how to build a rom and remove/add apps and all that, just want to know how to build in a theme and change the default background.
I want to be able to theme sense, theme the wallpaper, pulldown notifications bar, and other similar stuff. Would really love a guide, Thanks.

Change default_background.jpg in drawable and mdpi. That's good for most folks. I've been making my themes cleaner and I notice it decompiles better if you put those jpgs in the decompiled folder and recompile then copy the resources.arsc from your recompiled apk along w the jpgs back to your original framework.
You might need a guide if you didn't follow that.
..you'd still have to have your wallpaper set to the default image in the first place, otherwise it wouldn't be seen after theme application until you set it back to default by hand.

Related

Icon linking help

I was wondering if anyone could tell me how to find out the correct application activity code to rename icons so they replace the applications default
Sent from my X10i using Tapatalk
Please read the announcement in this forum before posting.
http://forum.xda-developers.com/announcement.php?f=617
This is not development, so moved to Q&A
Pull your framework-res and have a look, or the apps apk and change it directly.
What im trying to do is add icons to a theme im making , ive added some which i had to rename in order for them to replace some of thr default icons for apps when activating the theme. But i would like to replace some other default icons but i need to find out what to rename my custom icons too in order to replace the remaining default app icons when i activate the theme (adw launcher)
Sent from my X10i using Tapatalk
AngelDevoid said:
What im trying to do is add icons to a theme im making , ive added some which i had to rename in order for them to replace some of thr default icons for apps when activating the theme. But i would like to replace some other default icons but i need to find out what to rename my custom icons too in order to replace the remaining default app icons when i activate the theme (adw launcher)
Click to expand...
Click to collapse
I had the same issue with my modded theme ADW theme, you need to pull the apps such as "Conversations.apk" which is basically MMS.apk on 1.6 and either change the icon in the apk itself or rename the icons in the theme to what they are now called in 2.1, and the only way you'll find that out is by pulling the apks and opening them.
Ferk.... alot of digging around , after ive found as many as i can that work ill post a list of what to rename your icons to in your theme to replace the default icons. If you or anyone else already knows some can ya post it to help out thanks
Looking for stuff like this .....
Shortcut icon to the camera is named ....
Com_camera_cameraactivity
(or something like that)
So i would need to rename my icon from icon.png to com_camera_cameraactivity.png , then place it in the theme apk using eclipse , under a folder named /res/drawables_hdpi/ .
After that i would install the theme and the camera icon will have changed to the icon i want.
So thats the info we require ; the correct icon renames for as many apps as posible .
Sent from my X10i using Tapatalk

Theming GingerBlur 2.x

I was going to put this in the GingerBlur 2.5 thread, but got the smackdown for not having enough posts yet
I was thinking of theming kenneth's great GingerBlur ROM, but have noticed that some of the files seem to be in different places than expected.
It would be helpful if there was any guide or how-to on what .png files would need to be modified to theme particular areas specific to this ROM.
For example I had thought to change the color of the notification bar background you'd find statusbar_background.png in framework-res/res/drawable...alas nothing to be found.
Thanks!
I also want to change the lockscreen slider img.
The vast majority of your editable pngs are in drawable-hdpi, but many of them are draw-9 pngs and require some special handling to alter.
fRenZy-_- said:
I also want to change the lockscreen slider img.
Click to expand...
Click to collapse
Lockscreen slider is a draw-9 png in the framework-res/res/drawable-hdpi folder. In order to alter it you would need to decompile the apk, as opposed to simply extracting it, change the image, and then recompile the apk. I am planning on starting a thread in the near future as a guide/discussion for theming.
Hey guys! Super glad that you all want to theme GingerBlur. I will encourage you to go ahead and wait until the release of GingerBlur 3.0.
Version 3.0 will have a re-worked framework that can be decompiled more easily. Theming will be a breeze!
Good luck!
Awwww man..
kennethpenn said:
Hey guys! Super glad that you all want to theme GingerBlur. I will encourage you to go ahead and wait until the release of GingerBlur 3.0.
Version 3.0 will have a re-worked framework that can be decompiled more easily. Theming will be a breeze!
Good luck!
Click to expand...
Click to collapse
Awwww... I've themed it already.. lol.. here are some shots... I got some of this stuff from the Galaxy S Poison Green theme, with a few of my own tweaks... and still a work in progress as I have more time to match the other parts to the theme... this is with fly-in affect... looking forward to the 3.0 update
kennethpenn said:
Hey guys! Super glad that you all want to theme GingerBlur. I will encourage you to go ahead and wait until the release of GingerBlur 3.0.
Version 3.0 will have a re-worked framework that can be decompiled more easily. Theming will be a breeze!
Good luck!
Click to expand...
Click to collapse
coool, cant wait. There are some aspects that I like changing (text colors mainly) and I hope it really is going to be a breeze. Changing images are easy in any case though. It's the text stuff that are tough.
Wow man that theme you got there looks pretty awsome!
jpinoy said:
Awwww... I've themed it already.. lol.. here are some shots... I got some of this stuff from the Galaxy S Poison Green theme, with a few of my own tweaks... and still a work in progress as I have more time to match the other parts to the theme... this is with fly-in affect... looking forward to the 3.0 update
Click to expand...
Click to collapse
Looks a lot like the steel blue theme I am currently using but green. Very nice.
Sent from my Blue Steeled Atrix
Big-A-Rob said:
Looks a lot like the steel blue theme I am currently using but green. Very nice.
Sent from my Blue Steeled Atrix
Click to expand...
Click to collapse
Thanks... It's pretty much a mirror of that theme, but not as customized as Tones.. don't have that much time to mess with all the features
The origianl Galaxy S them has Blue, Green, and Red themes of the same.... which is where we both got the theme from to put it on the Atrix..
FYI some icons are in system/app/systemui.apk
kennethpenn said:
Hey guys! Super glad that you all want to theme GingerBlur. I will encourage you to go ahead and wait until the release of GingerBlur 3.0.
Version 3.0 will have a re-worked framework that can be decompiled more easily. Theming will be a breeze!
Good luck!
Click to expand...
Click to collapse
Awesome news and a sincere thank you for all of your concerted efforts! Quick general question: do you know if Android supports transparency in the notification bar (the actual static bar at the top)?
I would assume so given they are .png; I think it would be pretty cool if you could have your notifications floating on top of your wallpaper.
adding transparency is not as simple as just editing the png's...you will also need to edit the services.jar in the framework (i think)...i know that is true for adding transparency to the notification bar dropdown...also after some research, launchers such as adw and launcher pro may cut off the wallpaper underneath the status bar, not sure about the stock motoblur launcher, so adding transparency may be pointless...
a more experienced dev or android user may know a bit about this...but i'm just sharing what i know...
jpinoy said:
Awwww... I've themed it already.. lol.. here are some shots... I got some of this stuff from the Galaxy S Poison Green theme, with a few of my own tweaks... and still a work in progress as I have more time to match the other parts to the theme... this is with fly-in affect... looking forward to the 3.0 update
Click to expand...
Click to collapse
WTH man??! Amazing screenshots!! This is exactly the color scheme I was wishing for on the Atrix!
How could you keep such good goodies only yourself? Or did you post your here somewhere?
Me would like it very much!
Thanks!
---
Edit: Sorry! those beautiful screenshots got me a head-rush! I read later it's work-in-progress. gold luck.
tonecreationz said:
adding transparency is not as simple as just editing the png's...you will also need to edit the services.jar in the framework (i think)...i know that is true for adding transparency to the notification bar dropdown...also after some research, launchers such as adw and launcher pro may cut off the wallpaper underneath the status bar, not sure about the stock motoblur launcher, so adding transparency may be pointless...
a more experienced dev or android user may know a bit about this...but i'm just sharing what i know...
Click to expand...
Click to collapse
This sounds hard...maybe I just stick with black
tonecreationz said:
adding transparency is not as simple as just editing the png's...you will also need to edit the services.jar in the framework (i think)...i know that is true for adding transparency to the notification bar dropdown...also after some research, launchers such as adw and launcher pro may cut off the wallpaper underneath the status bar, not sure about the stock motoblur launcher, so adding transparency may be pointless...
a more experienced dev or android user may know a bit about this...but i'm just sharing what i know...
Click to expand...
Click to collapse
that's not true, i use paint.net and make transparencies on many of my png's, then simply add them back to the apk and vola.
jimbush3 said:
Lockscreen slider is a draw-9 png in the framework-res/res/drawable-hdpi folder. In order to alter it you would need to decompile the apk, as opposed to simply extracting it, change the image, and then recompile the apk. I am planning on starting a thread in the near future as a guide/discussion for theming.
Click to expand...
Click to collapse
please make a thread! i'm a little confused, i use 7-zip to extract (which you say is a no no), then change the images (even the .9's, i just add .png to the end, and yes i know that's a no no but that's the point of being deodexed, so you can throw any png in there and either match the name or change the xml, in my case, it works everytime....), throw them back into the apk, and either root exploror the framework back (with an immiediate reboot) or adb it in in between boots (the way your suppose to do it, unless you make an zip to flash which i don't know how).
this method works for me, but if you use root explorer, the rom erases your dialer history (odd, never happened on the cappy).
p.s. this isn't a guide, if somebody does this and bricks their phone, they can hold me responsible and sue me (as i have nothing, nor a job). but seriously, backup your framework and know how to use adb if you want to mod your framework...
chaosjh said:
that's not true, i use paint.net and make transparencies on many of my png's, then simply add them back to the apk and vola.
Click to expand...
Click to collapse
I was referring to adding transparency to the notification/status bar...
tonecreationz said:
I was referring to adding transparency to the notification/status bar...
Click to expand...
Click to collapse
The bar is a normal png, you can transparent it fine without any fancy coding.
Yes, the status bar image is a standard png and can be made transparent. However, the wallpaper does not expand behind where the status bar is - so even if you make your status bar transparent, some color needs to be represented behind it. I went into drawables.xml and set the status_bar_background to transparent as well but it still shows up black for the homescreen, it does stay transparent for apps though and shows up differently based on what app is running (aka, for words with friends it shows the blue stripes - but not when I screen cap). Here are some images of what I mean.
- black on the homescreen, wallpaper must not extend that high
- see straight through to the notifications
- shows more grey on my phone than here

editing icons

So can I go into apks on my PC and replace the icon.PNG inside with a different one and put it back on my phone? I just like all of my icons to be themed the same on my homescreen. Thanks.
Basically, if it's a system apk you can just use 7-zip to replace the icon.png file then push it back to system.
If it's a market apk you'll have to re-sign the apk after you change the icon.
I use autosign.bat, got it off of xda somewhere, android themes maybe.
Cool thanks I will look into doing this. Its he one reason I liked using ads launcher. For themed icons.

[Q][Theming] Need help with XML edits for color changes in theme

Currently theming and I wanted to change the colors of certain title bars, but cannot find the XML files associated with the color codes. I have looked in the droid developer website and XDA and haven't found the needed info. I also attached images so persons who may know can answer; some stuff I just wanted confirmed. I would like to change some settings title bar colors and some texts. The arrows point out what I need to change, and the fonts of what I want to change are underlined. This is for the droid charge, just so people know.
[Edit]
I have seen people put images in the title bar in settings so if anyone knows how to do this or has a link to anything about what i mentioned I'd appreciate any links or valid help.
in the 3rd screenshot of the settings bar, that can be edited in framework.res.apk, just look for the bar in drawable-mdpi folder in framework.res.apk and use gimp or photoshop to change the color
nope no good i have edited xmls within framework and none of them change the bars i want. i have edited the pull down bar, MMS apk colors, secondary colors, and none have edited what i wanted. thank you for the post though.
i know it is either in colors, drawable, layout, or values.
The bars have to be in framework, I edited mine and it works using apk manager. hmmmm did you check system.ui?
NookColor Cyanogenmod 7.1 "Overclocked"
yea i have it only changes it for certain instances. the top of the MMS, GMail, the home screen top bar changed, but those i SS in the OP did not change even though i have themed all of the framework-res.apk.

[Q] How edit framework-res or SystemUi to change status bar icons

Hi guys, like the title says, I'm searching for a way to edit the framework or the SystemUI apk to get rid of the icons. I would like to use the AOSP's ones but without using Xposed. Most of this because using overlays or themes it change the icons but when they're black, signal and data keeps white and that looks very bad. I'll leave an attachment. I've found only two tutorials on XDA but the one's from 2013 (JB, or KK idk) and the other is for Lollipop and both are very different and it confuses me so much. So, I beg for anyone who can help and I can do it (a tutorial, steps, something) and I will share with everyone in themes section the results!
Thanks in advance.
It should be inside SystemUI.APK, decompile it and change appropriate icons in hdpi, xhdpi and xxhdpi. If you have time, you may even want to change those in ldpi and mdpi.

Categories

Resources