Theming question - Droid Incredible Q&A, Help & Troubleshooting

This is not so much a themeing question as it is a question on how to make the following file a different color. When I open this file up in GIMP it has a grey background and when I try to change it from white to blue it just turns grey. I have the color selected blue but when I paint it comes out grey. I assume it has to do with layers but I am a novice when it comes to GIMP and have no clue how to fix it. Any help would be appreciated. I am working on adding some more blue to the blue theme that I currenly use for my Dinc.

So no one out there can help me out?

I believe the reason you are having problems is because the image is an indexed png file. Indexed images are compressed and not easily editable. I attached a non-indexed version of the file you posted. You should be able to make any changes you want to this one.

Oddity said:
I believe the reason you are having problems is because the image is an indexed png file. Indexed images are compressed and not easily editable. I attached a non-indexed version of the file you posted. You should be able to make any changes you want to this one.
Click to expand...
Click to collapse
Ok thanks for that...how do you unindex a image file?

Unfortunately, I have never used Gimp so I don't know the way to do it in there. I've been using Adobe Fireworks but I am not sure if there is a freeware alternative for it. Hopefully someone else can chime in that knows a little bit more about it.

Oddity said:
Unfortunately, I have never used Gimp so I don't know the way to do it in there. I've been using Adobe Fireworks but I am not sure if there is a freeware alternative for it. Hopefully someone else can chime in that knows a little bit more about it.
Click to expand...
Click to collapse
I do have PS installed on my system also.

Ok I just figured out how unindex it in GIMP. Thanks again for the file and your help.

So how do you do it?
Sent from my ADR6300 using XDA App

sotssax said:
So how do you do it?
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
In GIMP select Image/Mode and select RGB after you are done making the changes go back to Image/Mode and select indexed.

Related

has anyone successfully edited the .9 images

has anyone successfully edited the .9 images and got them working in their themes ?
Plz reply the poll too...
check out teknotiq, he explained some of the information to me about his work with editting .9 pngs... also most themes such as BUUF, Fadte to Blue, Stericson's themes, all have .9 pngs edited... you can check with them as well
I too have got them successfully edited...
i have made this thread just to know wheather .9.png images are changed widely ?
so thanks on your reply....
want more people reply....
They can be changed but they always break, I have never had one loop me at the boot screen. Some look ok and others dont, its just trial and error.
I've noticed the best way to change these .9.pngs is to give them a 1 pixel border. The buttons for instance, the inside is one color and the border should be a 1 pixel black or whatever color of the theme. You have to erase the corners to, if not they stretch weirdly.
hey pud, try editing the clear notifications button and change its color, without it breaking. Then send me a pic. I was stuck on this forever....
damnitpud said:
I've noticed the best way to change these .9.pngs is to give them a 1 pixel border. The buttons for instance, the inside is one color and the border should be a 1 pixel black or whatever color of the theme. You have to erase the corners to, if not they stretch weirdly.
Click to expand...
Click to collapse
i do it the same way
Stericson said:
hey pud, try editing the clear notifications button and change its color, without it breaking. Then send me a pic. I was stuck on this forever....
Click to expand...
Click to collapse
I ll try doin that and give it to u...
I figured out the .9.pngs! The procedure is here! Updated: 02/13/09
::New:::
If you have downloaded the SDK and Eclipse, you have all the tools you need, If not you should grab them and follow Google's guide.
This process is somewhat a pain in the butt, but worth it. You need to take the .9 off of the file name that you want to change, then drag it into the draw9patch tool from the Android SDK(in the tools folder) Here is some info about draw9patch. Pay attention to the Note in the middle of the page. Once you have your 9patch file edited and saved you need to compile it, the lines will remain on this .9 image until it is compiled with eclipse. you need to open a project, or create one in eclipse, drag the .9.png into the drawable folder, then right click your project folder and choose android tools/export unsigned application package. Once this is done, you want to open the apk with WinRar and pull your .9.png files out. you will notice the lines are gone! That is all, I am sure people who have not downloaded the SDK and Eclipse yet might have problems understand this process, but I will try to help you. I am not a guru with Eclipse but i know enough to get by.
Good luck and happy stretching =)
Playing with the SDK today, i found in "SDK\tools\lib\res\default\drawable" all of the .9.pngs have the black lines intact. These could be good for learning the best way to stretch these images. Also the xmls have not been converted to binary, so it might make for some interesting hacks for themes.
Here is a screen shot of the draw9patch tool. The bottom and right sets the content area and the left and top set the stretch area.
I am not sure if i am going to disclose this info just yet (because of the competition) but i wanted to let everyone know its been figured out and we will all know very soon!
i am uploading some screen shots now with some perfect buttons! Anyone who has used my theme knows the buttons looked somewhat messy, well no longer will they be.
damnitpud said:
I am not sure if i am going to disclose this info just yet but i wanted to let everyone know its been figured out and we will all know very soon!
i am uploading some screen shots now!
Click to expand...
Click to collapse
way to go! excited to see some sshots!
looks amazing man! I've been using this theme for the last week and i must say its totally grown on me. Thanks for putting out some kick ass updates
Great to hear.
To tell you the truth, I loved your theme. The only reason I uninstalled it was because of the .9.pngs stretched out and looked bad.
After seeing these pics though I will reinstall =)
That's cool but this theme competitions is starting to suck, no one want to share any info due to fear of losing. I'm fearing this comp.. my be counter productive.
are some .9's harder to edit than others? never tried editing the buttons and such but the ones i've tried editing (the notifications bar etc.) seem not to mess up, no matter what i do to them. are some of them just really temperamental?
Not me if i had info like that i would share it because for me i don't care if i win or lose one this not my first comp and second i have been doing this to long.
@Damnitpud
Good work bro.
For the few .9 pngs I have modified so far I just used the layer blending properties to apply an overlay with some opacity and saw no ill effects. I haven't done many yet, but if I am just changing colors, I don't see why this shouldn't work for all fo them. Since it preserves the original shapes and layouts, just adds a tint to the image.
I am going to type up the steps to getting the .9s working properly. I am going to end up sharing the info, i'm not one to usually hoard info. There is still some learning to do with the draw9patch tool, but at least we can get rid of those damn lines after messing with it in in the draw9 tool.
I will add it to the first post of this thread.
Meltus said:
are some .9's harder to edit than others? never tried editing the buttons and such but the ones i've tried editing (the notifications bar etc.) seem not to mess up, no matter what i do to them. are some of them just really temperamental?
Click to expand...
Click to collapse
Yes some are very hard and only distort at larger sizes. The buttons are very difficult, even opening them up and saving the file will break it. you don't even have to change anything. Try changing the btn_default_normal.9.png and use the stock btn_default_pressed.9.png. you will see a big difference when you press that button.
That's cool but this theme competitions is starting to suck, no one want to share any info due to fear of losing. I'm fearing this comp.. my be counter productive.
Click to expand...
Click to collapse
I agree, that is why i am going to release the info, its pretty simple but very tedious. Not as bad as compressing the images like i figured out before. But that's only because there is not as many.
Not me if i had info like that i would share it because for me i don't care if i win or lose one this not my first comp and second i have been doing this to long.
@Damnitpud
Good work bro.
Click to expand...
Click to collapse
This is the first time...well second time i have found something the community was looking for answers to, i am normally one of the herd waiting for the relases...not doing the release myself. i would love to win the competition, but i doubt perfect buttons will give me that much of an edge. =)
And thank you!
manup456 said:
Not me if i had info like that i would share it because for me i don't care if i win or lose one this not my first comp and second i have been doing this to long.
@Damnitpud
Good work bro.
Click to expand...
Click to collapse
I agree. I want to get into the comp but it's not for the money. I'm doing it because it's fun to see what people can come up with and I enjoy a challenge. Besides isn't the comp about who's theme is most aesthetically pleasing, since none of us are releasing the themes to the public until after the comp no one will see those things anyway unless you post up 100 screens shots that is.
I gave away my secret in the first post =)
Sweet jesus.
You've opened a whole new can of worms.
The world is in our hands, now.

"How to" Edit Swype Keyboard

First off, I take no credit in doing this, this is meant to help people if they want to try it. And I am only making thread at request of others members.
If you break your phone I am not responsible, if you have questions though I am more than willing to help as much as I can but this was the first project I did.
There may be easier ways to do this but this is how I did it. If there is, feel free to comment the other ways!
I would like to say thanks to maddoggin and illinois08 for there help in getting mine figured out!
Requirements:
winrar (this is what I prefer but you can use any of your choice)
Original Swype.apk (included in thread and swype needs to be already installed)
image editing software (I personally used gimp and coreldraw) and experience in them.
common sense
What you are actually changing:
To change the look of swype is fairly simple, meaning all you are changing is some .png files in the apk itself to whatever you want them to be.
The only downside is trying to make sure the letter spacing is correct. That is the reason I used coreldraw first to do the spacing and then the background with my flames was in gimp.
First Step:
Using winrar (7zip, etc) open up Swype.apk (I placed on desktop for easier use).
The first folder should say assets. Open up assets. After you open assets, there should be a folder named keyboards. Drag the keyboards folder to desktop.
Once you open the keyboards folder, you will see multiple image files. You have found the files we need to edit! Make sure every png stays in there even if you decided not to edit one of them.
Files SwypeRef_LS_Blue_Shifted_WVGA.png (LS is landscape keyboard) through SwypeRef_PT_Standard_wBlue_VGA.png (PT is portrait, most important for me)
I only edited 4 of the images because these are the main 4 I use and don't use landscape. If you wish you can edit all of them or just 1 .
Second Step:
Using Gimp/or CorelDRAW, you will need to make new images that are 480x320 pixels. At this point, it is totally up to you to get the placements correct and make the image how you want it displayed.
I personally imported the images I was editing to Corel, and basically started a fresh one on top of it so I could get the letter placements correct. You need to make sure when you are done that the image is still 480x320 with the letters not being the end of the size. I made an outline that was 480x320 and placed the letters inside and exported the image that way so it stayed the right size. I would also try to keep the images around 50 kb because mine are around 90 and you noticed some lag when it switched between pngs...
As you are exporting your images, make sure to name them their appropriate names (shifted, capitals, lower case, etc.) which makes it easier to rename them after wards.
Third Step
Once you have all of your images done how you want, I would place them all in their own separate folder.
Now, you will need to open the keyboards folder from earlier and match the images you edited to where they go in "keyboards" and rename your files to the appropriate name and delete its' counter part. Meaning make sure only your image is in keyboards with it renamed to what mode your png represents. And make sure the folder contains every png it did before. They all serve a purpose.
After you have removed all the old pngs and replaced with your renamed images, you will need to open Swype.apk back up and go to assets-> and delete the original keyboards folder. After deleting, move your keyboards folder with your images under assets.
Swype is now edited with your keyboards how you want them!!
Fourth Step:
The only thing left is either adb push Swype.apk to system/app or place on sd card and install with astro,ez,etc.
Another way that is very easy and the way I do it. If you are using a theme, open up on your desktop with winrar. Go to folder system/app and place Swype.apk in app folder. Now flash from recovery and your new and improved swype is ready for action.
I have attached what I made mine look like. Some people may not like how basic it looks and how some of the things are not sized or off correctly but I like it and it works!!
I also added a picture of my custom dropdown which I made in Gimp. If you would like to know how to do one like this send me a PM.
And if you have any questions, feel free to ask. I may not be the best at explaining things thoroughly !
I have been getting a lot of PM asking how to edit swype ...
Are my instructions to complicated? If so, let me know and I will try to revise them a bit and sorry!
Nah it's cool man. I mean i get it. idk about everyone else. I haven't got around to trying it yet but this lets me know what to expect.
Ok well that is good! Thanks for the reply...
I hope that post didn't come off as rude, if you sent me a PM I more than willing to help everyone! I just wanted to make sure it wasn't bad instructions ...
Dude this is really nice, I like how you changed the letters to diferent font. Nice job! You should make some more!
Sent from my SPH-D700 using XDA Premium App
Thanks man! Like I said since this was my personal one I didn't go all out and it was kind of sloppy but it suits me fine.
I was thinking about it but not sure what people would want! If some people gave me some ideas of what kind of background or font, I would have no problem making it for them.
Now that I know how to do it (with your help) it won't be as painful as before, just time consuming.
I'm not a user of Swype but I certainly commend the effort that you put into this. It came out great.
stir fry a lot said:
I'm not a user of Swype but I certainly commend the effort that you put into this. It came out great.
Click to expand...
Click to collapse
Thank you!
This is GREAT!! Thank you for putting this together.
Your are welcome! Let me know if you have any questions!
Just so everyone is clear, the Swype.apk attached to post is the original swype, not my customized one . Because that is what you have to edit.
Just so no one gets confused.
Thank you for this help. I've wanted to be able to change the way mine looked but have been stuck trying to find someone else's work that suited. I've just started modifying mine and what I've got looks awful but that's because I need to learn how to utilize the imaging programs better. I'm sure I can get it and thank you again for the starter.
ficjay said:
Thank you for this help. I've wanted to be able to change the way mine looked but have been stuck trying to find someone else's work that suited. I've just started modifying mine and what I've got looks awful but that's because I need to learn how to utilize the imaging programs better. I'm sure I can get it and thank you again for the starter.
Click to expand...
Click to collapse
Awesome! Im glad it helped you! Im sure you will and hope you share with us the finished product!
Sent from my SPH-D700 using XDA App
jkrough0728 said:
First off, I take no credit in doing this, this is meant to help people if they want to try it. And I am only making thread at request of others members.
Click to expand...
Click to collapse
Im thinkin that pull needs a lil animation......
D
jkrough0728 said:
I have been getting a lot of PM asking how to edit swype ...
Are my instructions to complicated? If so, let me know and I will try to revise them a bit and sorry!
Click to expand...
Click to collapse
I haven't tried yetyet but I get It fine... great job
Sent from my SPH-D700 using XDA App
Worked great on my3VO thanks.
Anyone have a link to the nexus s4g version
I want to edit my swype to look like that
Sent from my SPH-D700 using XDA Premium App
I forgot all about this thread lol
I just edited my 3D's swype today because of you guys posting on it and it made me think to do that so thank you
jkrough0728 said:
I forgot all about this thread lol
I just edited my 3D's swype today because of you guys posting on it and it made me think to do that so thank you
Click to expand...
Click to collapse
I just themed one today. HOLY CRAP IT'S NOT EASY!
shane6374 said:
I just themed one today. HOLY CRAP IT'S NOT EASY!
Click to expand...
Click to collapse
I know it can be a pain sometimes... Really depends if you want different font that is the hardest thing ever lol
sent from my Evo 3D from xda app

[SOLVED] How to remove the orange highlight on SMS Unread Count widgets

I've just bought WidgetLocker Lockscreen and using SMS Unread Count to display any missed calls/sms/emails.
The one thing that annoys me about my nice new lockscreen is pressing on the SMS Unread Count widget has an orange highlight before it opens the application.
Is there any way to remove the annoying orange highlight? It seems to be standard for all widgets to be highlighted in some way when pressed.
Been digging through my framework-res.apk and tried editing focused_application_background_static.png to another colour or transparent but this doesn't seem to be the correct image file.
If anyone knows how I can do this could you please point me in the right direction?
So I was looking in the wrong apk file. I guess this is what happens when you're attempting mods when you should be sleeping.
All it took was a simple edit of some .9.png files in the correct apk and now everything is nicely colour coordinated again.
Can someone explain to me how to do this in detail?
Anyone ?
Been a few months, but I still can't find which files to edit. Anyone know?
can we get this on ICS ROMS mms.apk the unread counter i miss it much
bump...
...
Man I feel so sorry for you lol. It seems like this wasn't a hard problem to solve but nobody wanted to help... anyway, cheers to you that you solved the problem!
waylaidwanderer said:
Man I feel so sorry for you lol. It seems like this wasn't a hard problem to solve but nobody wanted to help... anyway, cheers to you that you solved the problem!
Click to expand...
Click to collapse
LOL I haven't solved it yet. The OP has solved it and I wanted to know what he did. He never responded though, even in PMs. I guess no one's been opening this thread because it says SOLVED in the thread title.
EH15 said:
LOL I haven't solved it yet. The OP has solved it and I wanted to know what he did. He never responded though, even in PMs. I guess no one's been opening this thread because it says SOLVED in the thread title.
Click to expand...
Click to collapse
Oh oops I guess I wasn't really paying attention when reading... Anyway, you just need to decompile the widget/app apk and replace the image file that gives the orange glow with a transparent one. You can sort of tell which one it is by looking at the file names.
Sent from my GT-I9100
waylaidwanderer said:
Oh oops I guess I wasn't really paying attention when reading... Anyway, you just need to decompile the widget/app apk and replace the image file that gives the orange glow with a transparent one. You can sort of tell which one it is by looking at the file names.
Sent from my GT-I9100
Click to expand...
Click to collapse
Yup, I found the apk I need. It's com.kanokgems.smswidget-1.apk. I replaced a couple of images using WinRar, then used Root Explorer and copied it over to it's original location. Then restarted my phone, but it didn't work. The app wouldn't run properly...
You need to decompile it with APKtool or Auto APK Manager, and recompile it that way. Not always necessary, but that's the best way. And the most important part is to re/sign the apk file after you've recompiled it.
(Try installing it; if it tells you "Application not installed" you probably haven't signed it properly, and if you do sign it correctly it should work, otherwise uninstall the app and install your modded one).
Just delete badgeprovider.apk
Sent from my GT-I9100 using xda premium
Got it to work.
EH15 said:
Got it to work.
Click to expand...
Click to collapse
That's great! I hope I helped!
Sent from my GT-I9100

[Q] Replacing Apk image

How do I replace the image (png) of an apk?
Thanks in advance.
- Skorpion
Extract it.
Dont ask how, google and the search function is ur friend
M&S
I'll sometimes use Metamorph to make theme changes (including images within an apk), but it seems to be a lot more glitchy with the gs2 than it was on the vibrant. Still, it works now and again for me, so it's something you could look into.
Like M&S said, just do a Google search and you'll see it's not that hard to unpack an apk, modify it, then repack and sign it.
Sent from my SGH-T989 using XDA

How do I replace a App's Icon

josepho1997 said:
So I want to unblur some apps on the carousal. I've unzipped the app and found the icon under different folder's, usually drawable-mdpi. Now I want to know how I can make it clear. I know I need to make the dimensions 512x512. I've used photoshop cs6 to do this. Now I need to unblur it. I've managed to filter the picture, but its still a little unclear. Any suggestions on how I can make it clearer? Also, after I've extracted, How do i put it back into an apk file?
Click to expand...
Click to collapse
I think the carousal icons are under "\system\vendor\data\Otter\images\" try there.
josepho1997 said:
So I want to unblur some apps on the carousal. I've unzipped the app and found the icon under different folder's, usually drawable-mdpi. Now I want to know how I can make it clear. I know I need to make the dimensions 512x512. I've used photoshop cs6 to do this. Now I need to unblur it. I've managed to filter the picture, but its still a little unclear. Any suggestions on how I can make it clearer? Also, after I've extracted, How do i put it back into an apk file?
Click to expand...
Click to collapse
You want to completely replace it, don't just resize it. You can get the icons at Google Play, they use the big ones. You want to follow this guide:
http://forum.xda-developers.com/showthread.php?t=1495854
josepho1997 said:
So I want to unblur some apps on the carousal. I've unzipped the app and found the icon under different folder's, usually drawable-mdpi. Now I want to know how I can make it clear. I know I need to make the dimensions 512x512. I've used photoshop cs6 to do this. Now I need to unblur it. I've managed to filter the picture, but its still a little unclear. Any suggestions on how I can make it clearer? Also, after I've extracted, How do i put it back into an apk file?
Click to expand...
Click to collapse
You can't just resize images and expect them to be sharp. They aren't vector images but raster images. You will need to get an icon that is already at 512x512 or greater for it to be clear.
josepho1997 said:
@Veeman
Actually, I downloaded pictures online of the Icon, then resized them. Then I put the apk back together, resigned it, and it is crystal clear. Its because when I download them they're very clear AND bigger so when I resize them it actually gets clearer. Now my gmail and OTA rootkeeper app icons are very clear. But sometimes it wont let me sign the file because I get an error. So it doesn't always work.
Sent from my Kindle Fire using xda premium
Click to expand...
Click to collapse
oops, yeah. What I meant was you can't increase the size of a raster image and expect it to be clear.

Categories

Resources