need theming advice - Hero CDMA Themes and Apps

Ok...here it is. I new too theming but I finaly created my first cm 6 theme to share with the community, besides a few minor tweaks it will be ready sometime this week. I ran into a problem I want to add a themed swiftkey apk for those of us who use it. I'm trying to make a black with blue glow. Now I successfully edited the png's via gimp but I ran into a problem some png's are indexed layered png's. I can't colorize them. I looked everywhere I could think of but could not find directions on how to edit those types of png's. Could someone send me a link on how to do this or just give me some pointers. If I posted this in the wrong forum...my bad I just figured I would ask here since it has to do with a theme. Anyways...I'd appreciate it.

Set the mode of the image to rgb then when your done editing set the mode back to indexed... in gimp.
Sent from my PC36100 using XDA App

Thanks man I'll try that out.

Yea...that worked perfect only thing is when I press a key the keyboard force closes but I think I might not have switched the mode back to index on a couple. Thanks again.

Shouldnt matter... indexing is a way to optimize a png. What your doing is taking the colors and applying a 255, or less, color palette.
Your fcs might be that you ruined the 9patch pngs you can't edit these in gimp or ps it ruins the 9patch information... if you want to edit a 9 patch de compile the apk first then edit, leave the outside 1 pixel border untouched, then re compile it.
Sent from my PC36100 using XDA App

Related

[REQ] Modify Application - Last Call Widget

I would like to use this Widget again but simply cant stand for any background to it, as it doesn't then fit the rest of my simple no background widgets. I tried pulling the apk apart myself and editing the PNG files to be transparent but then I could not get the apk to install nor did pushing it to my device work at all.
If someone can tell me how to modify the apk or modify it for me, I'd be very appreciative.
I emailed the Dev of this and have not gotten a response about adding a transparent background option so that is why I am here now asking for help. Thanks.
http://www.appbrain.com/app/com.zedray.calllog
So you can see what Last Call looks like I have attached a screen, I believe it is an issue with editing the .9 file. I can't figure out how to do it correctly, ugh..
No one eh? Does anyone think it's just a matter of figuring out how to edit these .9 files and I should be ok no need to resign the package? I Wish the dev would help out here, I'd gladly throw em ten spot for just changing the image background.
I've added a transparent style to the Widget (was a little bit more complicated to implement in practice than it sounds).
For future reference, nine-patch files are altered by the Android build system during compilation making it more difficult for a third party to make the changes described. Hope it suits your home screen.

Unlock Slider Color

is there anyway I can change my unlock screen slider colors. Im loving the setup I have but the ugly blue slider doesn't go with my red layout.
Sent from my DROIDX using XDA App
not unless you edit the framework.apk file...
yeh I figured I would have to edit that but im new to android and not sure what file and how to change it.
Sent from my DROIDX using XDA App
I don't believe it's possible without some 9patch editing. I tried it for my Xtreme theme. Any color modifications I made to it (changing it to all black, changing just the white speaker/unlock icon to red) rendered it "immovable." What I mean by that is, when I applied the changes, the lockbar would appear and vibrate/unlock fine, but it wouldn't "slide" like it's supposed to. Everything just stood still. So you would need to research the .9.png file editing and such to come anywhere close to being successful at this. If you're new to android and interested in any type of theming, I strongly recommend this article. The Ultimate Theming Guide
if you look at a few of my posts, one about themes for noobs you can easily figure out what to do. If your comfortable with it I might send you my red sliders from my UPgrade theme
Or if your really curious, google "draw9patch" tool then search over on droid forums for the xUltimate tool, and get the d9p compilerer
lots of learning off the bat but once you get it down its quite easy.
I also think there is a you tube video for ".9.png"

[MOD][PORT][THEME] Notification Menu Power Control Widgets for Sense - 3.70 - THEMES!

First of all, major thanks to JsChiSurf for his amazing work on this port!
http://forum.xda-developers.com/showthread.php?t=877003
This is a separate thread for themes of this mod.
I've always wanted a clean, slick looking shade on the notifications pull down and thanks to JsChiSurf, it's pretty easy to theme it.
Here are two that I made today. I haven't gotten around to skinning the buttons yet though.
Try these, static images don't do them justice, it's neat seeing the way they move. For more details on flashing these, please refer for JsChiSurf's thread above. These already contain the updated 2.1.1 services jar.
After zipping, you can use this:
http://circle.glx.nl/
to restore your battery %. Thanks chogardjr!
PCS_v2.1.1 Brushed_Metal_Grate_Small_Circular_Light
PCS_v2.1.1 Brushed_Metal_Grate_Small_Circular_Dark
PCS_v2.1.1 Brushed Metal Grate Small Circular Dark Industrialized
PCS_v2.1.1 Brushed_Metal_Grate_Small_Dark_Industrialized_Android
PCS_v2.1.1 Brushed_Metal_Grate_Small_Dark_Industrialized_Android_v2
PCS_v2.1.1 Brushed_Metal_Grate_Small_Light_Industrialized_Android_v2
Neo3D said:
First of all, major thanks to JsChiSurf for his amazing work on this port!
http://forum.xda-developers.com/showthread.php?t=877003
This is a separate thread for themes of this mod.
I've always wanted a clean, slick looking shade on the notifications pull down and thanks to JsChiSurf, it's pretty easy to theme it.
Here are two that I made today. I haven't gotten around to skinning the buttons yet though.
Try these, static images don't do them justice, it's neat seeing the way they move. For more details on flashing these, please refer for JsChiSurf's thread above. These contain the 2.1.1 services jar.
Click to expand...
Click to collapse
Wrong section to post this in, however, nice MOD.
Hi. How do i go about installing this mod please?
Jason Black said:
Hi. How do i go about installing this mod please?
Click to expand...
Click to collapse
jschisurf has intructions in his thread:
http://forum.xda-developers.com/showthread.php?t=877003
since he originally ported this, it's best to refer back to his thread.
oh, i already included his latest 2.1.1 services jar, so there's no need to flash twice.
SteelH said:
Wrong section to post this in, however, nice MOD.
Click to expand...
Click to collapse
Sorry Thanks for moving it to the correct section!
Using with Myn rom
I think the brushed metal version looks great and want to install, but would that change myn's black notification menu power control back to white or just add the metal screen drop down. I like the black notification menu power control over the white version.
Thanks
terence74 said:
I think the brushed metal version looks great and want to install, but would that change myn's black notification menu power control back to white or just add the metal screen drop down. I like the black notification menu power control over the white version.
Thanks
Click to expand...
Click to collapse
Hmm, honestly, I'm still new at this, so I don't know. Can you make a Nandroid image, then flash it and let everyone know?
terence74 said:
I think the brushed metal version looks great and want to install, but would that change myn's black notification menu power control back to white or just add the metal screen drop down. I like the black notification menu power control over the white version.
Thanks
Click to expand...
Click to collapse
yes, it will.
This is all very easy. If you have done this much then you can do it all. I have faith in you.
chogardjr said:
This is all very easy. If you have done this much then you can do it all. I have faith in you.
Click to expand...
Click to collapse
Is it just a matter of replacing the PNG's?
What PNG optimization do you recommend?
Also, how do you change the color of the fonts? I tried to look at the xml files but they open up as strange characters in any text editor I use (Notepad++, notepad, etc)
I also noticed that I lost my battery % after flash jschisurf's mod?
Thanks for your faith! The hardest part is knowing where all the PNG's are that need to be replaced!
Replacing png's is the noob way to do it. But is is the best place to start. You need to find apktool and learn how to use it. This will solve most of your problems with xml's. You also need a program called xml editor. This is my starters list. Here is a link you might learn a lot from.
http://developer.android.com/guide/developing/tools/index.html
As far as learning which png's, most are in the drawable-hdpi folder. Stay away from .9.png files untill your ready for them. Apktool will let you know when you make a mistake and where the mistake is to fix. Search youtube and do a lot of reading in this forum. It seems like a lot but after a while you will start to understand how the OS works and manages the files. Happy Themeing!
Neo3D said:
Is it just a matter of replacing the PNG's?
What PNG optimization do you recommend?
Also, how do you change the color of the fonts? I tried to look at the xml files but they open up as strange characters in any text editor I use (Notepad++, notepad, etc)
I also noticed that I lost my battery % after flash jschisurf's mod?
Thanks for your faith! The hardest part is knowing where all the PNG's are that need to be replaced!
Click to expand...
Click to collapse
Neo3D said:
I also noticed that I lost my battery % after flash jschisurf's mod?
Click to expand...
Click to collapse
Go to the sticky where the rom wiki is and at the bottom of that page you will find kitchens. One is for changing battery icons. That one is the easy fix to getting the icons you want into the his mod. But if you must know more, there are 3 xml files in the drawable folder that needs to be replaced to work with more png files than his stock ones. All I can say is APKTOOL and 7ZIP is the bread and butter.
Thanks for the awesome tips and info!
I found the .png for the toggle switches (stat_power_background.9.png) and yea, it must be some kind of special PNG cuz I measured it out to be 80x75 but rendered incorrectly.
Sweet, looking forward to learning more about Android!
BTW, just finished looking over that Android page and is this the APKTool you're referring to?
Android Asset Packaging Tool
Thats one of them. Here is a post made by a guy who compiled them all together for anyone who wants them. Use just the tools and use that link I gave to learn about them. APKTOOL is something made by someone here on xda but I can't find his link.
http://forum.xda-developers.com/showthread.php?t=882742&highlight=apktool
Neo3D said:
Thanks for the awesome tips and info!
I found the .png for the toggle switches (stat_power_background.9.png) and yea, it must be some kind of special PNG cuz I measured it out to be 80x75 but rendered incorrectly.
Sweet, looking forward to learning more about Android!
BTW, just finished looking over that Android page and is this the APKTool you're referring to?
Android Asset Packaging Tool
Click to expand...
Click to collapse
I found the website: FWI use v1.3.1 as v1.3.2 has bugs
http://www.google.com/url?sa=t&sour...8j1-bcnOf1Rz8k9fA&sig2=4MkcxzG_ROaqAr4-tWwlGw
As stated, just changing the .png's is the starting way of theming. Just make sure you do a nandroid backup before you go around messing with anything.
When you get comfortable with that, the next step is to look into XML. XML is generally easy to learn but can be complicated at parts. I don't really know of a good starting guide to XML for android but I'll post one if I see it.
NinePatches (*.9.png) aren't as complicated as people think. Once you get the concept of it, they are actually pretty easy. I'm creating a guide for it when I have time. But the basic concept is:
The NinePatch tool ads a 1px border to an image.
The new border can be colored black (except the 4 corners).
The left and top borders defines the stretchable area.
The right and bottom borders defines where content is allowed.
Like I said, I'm making a guide to it which will explain it better and have pictures.
chogardjr said:
Thats one of them. Here is a post made by a guy who compiled them all together for anyone who wants them. Use just the tools and use that link I gave to learn about them. APKTOOL is something made by someone here on xda but I can't find his link.
http://forum.xda-developers.com/showthread.php?t=882742&highlight=apktool
I found the website: FWI use v1.3.1 as v1.3.2 has bugs
http://www.google.com/url?sa=t&sour...8j1-bcnOf1Rz8k9fA&sig2=4MkcxzG_ROaqAr4-tWwlGw
Click to expand...
Click to collapse
ok sounds good, thanks!
Skullmonkey said:
As stated, just changing the .png's is the starting way of theming. Just make sure you do a nandroid backup before you go around messing with anything.
When you get comfortable with that, the next step is to look into XML. XML is generally easy to learn but can be complicated at parts. I don't really know of a good starting guide to XML for android but I'll post one if I see it.
NinePatches (*.9.png) aren't as complicated as people think. Once you get the concept of it, they are actually pretty easy. I'm creating a guide for it when I have time. But the basic concept is:
The NinePatch tool ads a 1px border to an image.
The new border can be colored black (except the 4 corners).
The left and top borders defines the stretchable area.
The right and bottom borders defines where content is allowed.
Like I said, I'm making a guide to it which will explain it better and have pictures.
Click to expand...
Click to collapse
I tried the 9patch app and it's pretty easy to use (I have experience with Illustrator and Flash). However, when I replace the original 9path file w/the new one, it shows the 1 px border on my android. Also, it seems to scale it wrong. I attached an example of what I'm talking about. I measured the bkg of the power toggles to be 80x75, but on the Android, it shrinks the graphic and you can see the 1 pixel border?
Looking forward to that guide!
Neo3D said:
I tried the 9patch app and it's pretty easy to use (I have experience with Illustrator and Flash). However, when I replace the original 9path file w/the new one, it shows the 1 px border on my android. Also, it seems to scale it wrong. I attached an example of what I'm talking about. I measured the bkg of the power toggles to be 80x75, but on the Android, it shrinks the graphic and you can see the 1 pixel border?
Looking forward to that guide!
Click to expand...
Click to collapse
are you talking about the background of the icons or the entire power area?
the background of the icons look fine to me even zoomed in.
if your trying to make the entire power area be the caution image, then there is an xml edit involved in res/layout-hdpi-v4/status_bar_expanded.xml. ill give you the exact change you need if you cant figure it out.
just keep in mind that ninepatch will only stretch images, not repeat.
Skullmonkey said:
are you talking about the background of the icons or the entire power area?
the background of the icons look fine to me even zoomed in.
if your trying to make the entire power area be the caution image, then there is an xml edit involved in res/layout-hdpi-v4/status_bar_expanded.xml. ill give you the exact change you need if you cant figure it out.
just keep in mind that ninepatch will only stretch images, not repeat.
Click to expand...
Click to collapse
ahh ok, i wasn't sure how the background of that area worked. so there's a background png and a background png for each widget?
i found this png: stat_power_background.9.png
which other one is for the background of the entire thing?
about the extra 1 pixel showing, you can see on the sides of the background a black vertical line. on 9patch png's, is the 1 px border that defines the 9patch actually supposed to show? i think there might be something wrong with my 9patch png's.
also, if you look at the screen cap again, there's horizontal white space above and below the toggle widget bkg graphics. is there a way to make them larger so they cover the white space? seems like android likes to shrink them to that size (in the screen cap) no matter how tall the image is.
Neo3D said:
ahh ok, i wasn't sure how the background of that area worked. so there's a background png and a background png for each widget?
i found this png: stat_power_background.9.png
which other one is for the background of the entire thing?
about the extra 1 pixel showing, you can see on the sides of the background a black vertical line. on 9patch png's, is the 1 px border that defines the 9patch actually supposed to show? i think there might be something wrong with my 9patch png's.
also, if you look at the screen cap again, there's horizontal white space above and below the toggle widget bkg graphics. is there a way to make them larger so they cover the white space? seems like android likes to shrink them to that size (in the screen cap) no matter how tall the image is.
Click to expand...
Click to collapse
Well theres a solid color using a ARGB hex (for the background of the power control area) and a png for each icon background by default. you can set it up so there is an image for each.
the stat_power_background.9.png controls each icon (as you may have guessed already)
i'm not sure why the power control area isnt a solid color.
when in the ninepatch editor, you are supposed to see the black extra pixel but when you load it on your phone, they should dissappear. i honestly dont see them in the ss you provided.
can you send me the framework-res.apk you are working on so i can see if everything is set up correctly?

SlideIT keyboard?

I use SlideIT keyboard, but I don't like the color in it, because it doesn't match my theme I am using. So I ask here if anyone can help me change the colour so it match the GreenGlow theme. Is there anyone here that can help me? I can donate to the person that's help me.
Best regards
J
Sent from my ~FreeX10 2.2~GreenGlow~ Using SlideIT
gonna give this a bump.
Me and another dude are working on a few themes, but we cant find the xml to change key color to white. I will PAY someone if they can find it.
not having white keys are limiting the possibilities. we still have a few versions in progress though
bad4u6669 said:
gonna give this a bump.
Me and another dude are working on a few themes, but we cant find the xml to change key color to white. I will PAY someone if they can find it.
not having white keys are limiting the possibilities. we still have a few versions in progress though
Click to expand...
Click to collapse
I'm browsing through the apk right now, and there are a LOT of .xml files, what would it be called on any other keyboard (if you know) or what line of code would i be looking for exactly? im pretty much just looking for the HEX of 00000 or FFFFF not sure which one is black
is is definitly not in the xml as a hex color. 000000 is black ffffff is white.
last week i changed all instances of 000000 to ffffff and it didnt change it. also in the aramibi folder changed the .so file. changed "000000ff" (found twice) to "ffffffff" still no go.
However, messing with my theme i just noticed something. After messing with images i realized something and verified this by changing the background.png to full transparent. once i applied this change the full background is black.
there is something in the xml's that call for a dark background. Im going back through the xmls now. Hope this will help find the string.
I think that this is too much for me, maybe if I knew more about what I was looking for. I'm used to doing this kind of stuff for iOS .plist files and strings...maybe after I get used to android and .xml files I can be more useful. I'll keep looking around though.

[Guide]Change the Ticker Clock Color!

Alright, I am going to try and make this guide as easy to follow as possible for the 1000x people who requested it, lol...
Before starting there is a few things you are going to need/should have:
apk manager...
text editor...
General Idea with How to Work a Computer/Follow Directions
Since we are going to be editing xml's, you have to use apk manager... Hopefully you have some basic knowledge with this "program", since it takes a little getting used to.. If not though, i will try and make this as painless as possible
First, open up apk manager and decompile (9) the framework-res.apk of your choosing.. You can unzip my gingerbread theme and use that framework-res, or any other one that you can find
Now, go to the projects folder, and navigate to "framework-res.apk\res\layout".. This is where, as the name implies, all the layouts for the ticker are placed... They are in xml format, so you can easily use notepad or such...
The XML that we are looking for in order to change the color is "standbymode.xml". Open it up in your text editor... Don't be intimidated, i know it looks confusing lol.. We are only messing with a little part...
Navigate down to the 13th line, aka "<TextView android:textSize="@dimen/time.text.size"... This is where the phone gets its information about the size, font, and color for the Time!
Scroll through that line until you come across android:textColor="blah"... As you can guess the Hex Value within the quotes is the color the clock is! Right now it is ffeaff00, but we can very easily change that
All you have to do now is by googling "Hex value for purple" or whatever color you want, find the hex value that you want to use The code should be exactly six letters/numbers, no more and no less... Now, copy that hex value, and replace the old code from "ff" on! Do not erase those first two letters, because that is telling the phone what transparency value to use, and we would like to keep it fully visible
Easy Enough, right? The hard part is now done!
All we have to do now is recompile the apk, which can be tricky if you don't know what your doing..
P.S if you know how to do this, you are done! I would still scan over these steps though, just to make sure you are doing it right
To compile in apk manager, just type 11! if you get a compile error, then you did something wrong That shouldn't happen though, this is a relatively easy mod....
Wait a while until you get a "Is this a system apk?" message... type "y".... then type y again for the next message... Now do what it says!
Don't forget to delete the "resources.arsc" file, and the "standbymode.xml" file!
Now you are done!! Just replace that framework using whatever method you use, Whether that be with adb when the phone is in recovery, or by replacing the new modified apk with the original within a zip file already made by me
If you make your own, don't be stingy.. Upload it to XDA or whatever, and share it with the community I will put it up on the front page, and give you the credit Make sure though you share with me what kind of framework-res.apk it is, and where you got as in, if you got it from my gingerbread package, or from my stock 2.2 Accurate theme, or Reboot Options, or any other option
fantastic guide! thank you for this!
but im just wondering one thing, why dont you have a donate button for all the hard work you have been giving to the continuum community? hmmm
Trail, is there any code we can get to that's worth modding that's in Java? If so, I can start doing some development.
Sent from my SCH-I400 using XDA App
http://www.mediafire.com/?ajjo09hwxejqsl0
I added my own outlined orange softkeys, and and orange ticker color.
and a few things to the lockscreen text for the lulz
Also I failed to mention that it's based on your accurate gingerbread theme.
Thank you Jakeschweinz for sharing with the community I shall put this in the main mod Thread, and make it easy for everyone to find it And i'll be sure to let you have all the credit
Thanks again!
just a quick link to help you guys out with color
http://html-color-codes.info/
and here's my baby blue clock color
http://dl.dropbox.com/u/30842475/framework-res.apk
6FCAF5 <---- if anybody wants to know the color code for it,
And thanks again Trailblazer for this Guide.
You tricky bugger you figured it out without me lol..
Nice job!
So I'm kinda new to doing this, and I saw the upload that someone has on there for mediafire, and I was wondering, do you just download that, or do you put it in the .apk manager and change it?
This guide is very soon going to be outdated
Sent from my SCH-I400 using xda premium

Categories

Resources