Hello, im trying to use a gingerbread theme for fission 2.4.3. However, for some reason, the insides of the silence sliders are completely transparent and do not have the dark transparent gray of the other sliders.
I've edited the .png files and tried recompiling the theme many times, but when i get to the lockscreen the slider just doesnt move. I just cant seem to get the 9-patch process right.
In other words, i want to use the attached pngs named edit1 and edit2 in place of the original sliders, which are also attached.
any help is appreciated, thanks!
asyntax said:
Hello, im trying to use a gingerbread theme for fission 2.4.3. However, for some reason, the insides of the silence sliders are completely transparent and do not have the dark transparent gray of the other sliders.
I've edited the .png files and tried recompiling the theme many times, but when i get to the lockscreen the slider just doesnt move. I just cant seem to get the 9-patch process right.
In other words, i want to use the attached pngs named edit1 and edit2 in place of the original sliders, which are also attached.
any help is appreciated, thanks!
Click to expand...
Click to collapse
How are you trying to edit the sliders? Those are .9.png files, they need to be edited different than normal .png files, as .9.png files are stretchable....
I use apkmanger 4.9 for extracting/signing/compiling etc.... if I'm only editing .png files or replacing(not editing) .9.png files, I use Simple Tasks section...
If I'm going to edit .9.png files, I use the Advanced Task sections, as they have to be Decompiled and Compiled... you will see a difference in the .9.png files when you do a regular extract and decompile, it needs those black borders/dots to make them work right... I don't get all fancy with my editing, so I use either gimp or paint.net to edit the .png/.9.png files...
I attached the sliders that you are wanting to use.. give those a try.. since you're only replacing the .9.png and not doing any editing, you should just be able to extract the .apk, and replace the sliders....
Good luck...
Related
if i wanted to port this over to the current rom im using green volume sliders and actual buttons and d/l bars what files would i need to mess with??
Uploaded with ImageShack.us
I'm no themer, but I believe most (if not all) the files you would need would be in the /res/drawable folder within the framework-res.apk.
I have only done minor tweeks like this, but should be a good starting point.
Any seasoned vets wish to chime in?
Actually I think the slider color is an XML edit. Decompile the framework apk and look in the layout folder
any idea what its called i found the actual buttons in the HDPI folder
not sure what you are asking but if you are asking for all the pieces, here ya go:
BACKROUND
popup_menu, they are png's in framework and com.htc
SLIDER BUTTONS
in framework as png's (you found those already)
PROGRESS BARS
xml edit in framework, i believe it is progress_horizontal.xml
the edits there are for color as well as you are going to have to edit it so that the line is a lot thinner.
BOTTOM BUTTONS
also in framework and com.htc as general buttons.
bammmmmmmmm
Is there a way to change the colors of the wifi/data, phone signal and battery icons in the status bar? I'm currently using weapon 2.4, so I'm rooted and was wondering if it might be a simple file edit to do so. If there is an app that lets you do that, I haven't found it yet but I would love to know how they work so I can potentially assign each icon a different custom color. Thanks in advance for any help.
--UPDATE--
ok so from what i've read so far it looks like i'm going to be editing some lines in the classes.dex which i extracted from the services.jar file in the framework folder. when I open up the classes.dex with baksmali i cannot find the \com\android\server\status\StatusBarIcon.smali file .. not just in that folder but anywhere within the expanded classes.dex archive. Is StatusBarIcon.smali where I'll be able to change the color of the icons in the notification bar or am I completely off track here?
You want to change the color of the icons? They are png files in the SystemUI.apk, so either pull them out and edit them in some photo software, find icons you like and add them, use a theme, or use UOT Kitchen.
do you have the "Theme Chooser" app on your phone?
If so, you might want to check out some themes and install one of those
or use Metamorph or a zip application to make your own
and remember, always backup your rom
Just use NinjaMorph, and edit SystemUI.apk... If you're looking to make them green, check my thread in the Themes section.
Sent from my LG-P999 using xda premium
Where is the notification bar clear button located? I'm running Sky ICS and really want to change this and only this button. I've extracted all of the files in the install but haven't found it in the .png items. Anyone?
Extract systemui.apk with apkmanager in system/framework, they're on the very top! there's like 4 png's for when you select the button, focus on it, etc.
Edit: Very top of res/drawable-hdpi/
M0D1441 said:
Extract systemui.apk with apkmanager in system/framework, they're on the very top! there's like 4 png's for when you select the button, focus on it, etc.
Edit: Very top of res/drawable-hdpi/
Click to expand...
Click to collapse
Yep those are them. Just be aware they are .9 png files and house code. So if you just mod em in photoshop straight up they are gonna get all warped. Google how to mod .9 pngs
Hey all, I'm using UOT Kitchen to change my status bar icons and battery icon. The battery worked out fine but the status bar icons are being a little uncooperative. The signal bar icons change sometimes, but often revert back to stock signal bars. The fact that the look keeps changing is annoying. I've read that it's because UOT gives the images the wrong names in the .zip, and I need to change the names for the phone to display the images at the right time. But question is, how do I do this? I assume I'd have to match each image to the corresponding stock image and make them have the same name, then just replace the images in the systemui.apk file, if possible.
JoeyofBladez said:
Hey all, I'm using UOT Kitchen to change my status bar icons and battery icon. The battery worked out fine but the status bar icons are being a little uncooperative. The signal bar icons change sometimes, but often revert back to stock signal bars. The fact that the look keeps changing is annoying. I've read that it's because UOT gives the images the wrong names in the .zip, and I need to change the names for the phone to display the images at the right time. But question is, how do I do this? I assume I'd have to match each image to the corresponding stock image and make them have the same name, then just replace the images in the systemui.apk file, if possible.
Click to expand...
Click to collapse
Yep that should do the trick...you can use 7zip to browse the files of an apk
If that doesn't work then you may have to decompile the apk.and do some smali/and or xml edits...I really depends on the icons you choose I think...what you would be doing is changing the references from stock to the uot
Sent from my HTC PH39100 using Tapatalk 2
mg2195 said:
Yep that should do the trick...you can use 7zip to browse the files of an apk
If that doesn't work then you may have to decompile the apk.and do some smali/and or xml edits...I really depends on the icons you choose I think...what you would be doing is changing the references from stock to the uot
Sent from my HTC PH39100 using Tapatalk 2
Click to expand...
Click to collapse
While in 7zip viewing the .png images, I click on them and Windows Photo Viewer comes up... but for some reason, no image loads. How can I view the images in the .apk so I can tell which images match up? I need to view the .png files but it doesn't seem to want to let me see a preview with Windows Photo Viewer.
JoeyofBladez said:
While in 7zip viewing the .png images, I click on them and Windows Photo Viewer comes up... but for some reason, no image loads. How can I view the images in the .apk so I can tell which images match up? I need to view the .png files but it doesn't seem to want to let me see a preview with Windows Photo Viewer.
Click to expand...
Click to collapse
You can extract them then view them, edit them, rename them etc...once your done with your edits just delete the old ones from the APK and add your new modified/renamed one...
The only images you can't edit (you can still rename...just make sure you leave the ".9" in front of the ".PNG" ) are .9.pngs -if you want to actually edit a .9.png with you will need to decompile the apk with apktool...and even then they still need to be edited in a special way. In case your wondering a .9.PNG is basically an image with no set dimension...as in it can be minipulated by .xmls to stretch (an example of one is the message box in the SMS app...the longer the text message the bigger the message box...it gets stretched down)
Sent from my SGH-I997 using Tapatalk 2
Hi there,
So recently I got Nexus 5 after 4 years of HTC Desire. Quite a huge leap performace wise I might add, and this phone is absolutely a sweetheart. The first thing I did was rooting the phone :laugh:
Anyways, I am thinking to change the color of all icons (including icons of applications) to black and white. I get it that I would need to extract the icons first, and then change the color using some icon or icon editing program or simply a photo editing program etc.
Now what I would need to know is that how can I repack the icons back to the application? or would I need to place it in some directory and fiddle with some xml file?
Cheers!
oombongo said:
Hi there,
So recently I got Nexus 5 after 4 years of HTC Desire. Quite a huge leap performace wise I might add, and this phone is absolutely a sweetheart. The first thing I did was rooting the phone :laugh:
Anyways, I am thinking to change the color of all icons (including icons of applications) to black and white. I get it that I would need to extract the icons first, and then change the color using some icon or icon editing program or simply a photo editing program etc.
Now what I would need to know is that how can I repack the icons back to the application? or would I need to place it in some directory and fiddle with some xml file?
Cheers!
Click to expand...
Click to collapse
Why don't you just use a Launcher that allow you to use custom icons? with Nova and Apex you can do it
oombongo said:
Now what I would need to know is that how can I repack the icons back to the application? or would I need to place it in some directory and fiddle with some xml file?
Cheers!
Click to expand...
Click to collapse
Icons are icons. The colour of icons does not need xml files. Its all controlled by images.
You can actually repack quit easily, but also takes a lot of effort. You need to look at the villain rom theme engine. It is a flashable zip that unpacks each apk and replaces whatever you have in the zip in the apk. Essentially you would have /system/app_name/res/icon.png (pretending that this is the location of the icon in the apk, each will be different I expect)... but you have to do this for every app.