[Q] PNGs from AOSP needs treatment? - Android Q&A, Help & Troubleshooting

Hello friends. I'm trying to return the ICS search bar in 4.3 Launcher. If you're interested in the process, the history is below. My question is if in the process of building AOSP, PNGs are processed somehow, because the pics picked directly from AOSP looks bad, with black lines. If so, how can I treat them? Thank you.
I took the old search bar png and background shadows png and put them directly in the Launcher2.apk of 4.3. In my phone, they look bad, with strange black lines and distortion. Seeing them in pic viewer, they have black lines.
I compared the pics of 4.3 stock Launcher with the ones from AOSP, and the result is that stock look good, and AOSP ones have black lines. I have attached the PNGs to show you.
The result is that I have caught ICS search bar from ICS factory image and looks good in my phone. But I need ICS background shadows PNG, the JB shadows are larger and that search bar looks better with his own shadows. I can't take directly the shadows PNG from ICS because between ICS and JB there was a revision that merged the two files of shadows in one.
After this, my question is above. Thank you!
http://dl.xda-developers.com/attach...202c308/2/1/7/2/7/3/8/search_frame.9_AOSP.png
http://dl.xda-developers.com/attach...02c315/2/1/7/2/7/3/9/search_frame.9_STOCK.png

Raikkon35 said:
they look bad, with strange black lines and distortion. Seeing them in pic viewer, they have black lines.
Click to expand...
Click to collapse
Those are .9 pngs and all .9s have those borders when decompiled. Click the image in my sig for more info.

Thank you very much friend. Very useful.

Related

Mod Requests/Ideas...

I'm looking to start a new metamorph project this week. So, I figured I'd ask the community if anyone had any requests of how they want their phone modded? If you have any ideas or requests of framework modifications (satus bar, status bar icons, battery, notification pulldown items settings menu, ex.), just let me know here or shoot me a PM and I'll see what I can do. Thanks!
I have posted this before but as far as I can tell no one has done it for eclair. I would like a set of black apps. I have the modded black dialer and would like someone to either create or help me create a black version of twitter, gmail and gtalk.
Black meaning the main screen are all black (aka no power used) with maybe a whitish text and grey highlight bar. I know this can be done as I have found it for froyo, I am just not ready to move to froyo yet as my bionix rom is nearly perfect.
adm1jtg said:
I have posted this before but as far as I can tell no one has done it for eclair. I would like a set of black apps. I have the modded black dialer and would like someone to either create or help me create a black version of twitter, gmail and gtalk.
Black meaning the main screen are all black (aka no power used) with maybe a whitish text and grey highlight bar. I know this can be done as I have found it for froyo, I am just not ready to move to froyo yet as my bionix rom is nearly perfect.
Click to expand...
Click to collapse
I have yet to modify an app, but I will definitely give it a try. It must be easier then modding the framework anyway. Do you have any screenshots of the froyo version? Or better yet, a link to download the apps for froyo?
I am by no means trying to steal anyone elses hard work I have seen the black apps in froyo rom called 928BlackDroidGlass there is also a market and twitter addon. I have tried to re-create these apps in eclair by doing a file by file compare of a standard froyo version and this version then using the diff files making the same changes in the froyo version. I have so far failed miserably. There are about 10 xml files just for gtalk alone that need color changes it seems. It would seem almost all the changes are to the background color or text color. I know I am close but just cant get it working and just dont have enough time to re-trace and find my error. If you like when I am home I can send you the filenames and locations that I suspect are the xml files that need to be changed for the gtalk app.
I took a look and think I know which files your talking about, but definitely send me what you got and maybe we can get it working.
Honestly I just want a plain touchwiz stock battery mod like how it should be. I started working on it but haven't picked it back up. I just want the stock color blue no percentage and it be accurate and compatiable with JI6.
mentalex2 said:
I took a look and think I know which files your talking about, but definitely send me what you got and maybe we can get it working.
Click to expand...
Click to collapse
This is what I believe are all the files needed for GTALK
*** Layout
chat_screen.xml
chat_view.xml
custom_title.xml
group_chat_approval.xml
picture_view.xml
search_results.xml
set_status.xml
*** Values
colors.xml
*** Drawable
chat_item_background.xml
In each there are settings for background of test color. It appears if we reverse the colors on them we may get the desired effect but I cant get it to work. Color codes appear to be FF000000 and FFFFFFFF
Any help yuo can provide would be much appreciated. Would also love to do this for other apps as I mentioned previously but have not had time to do a file compare on anything else.
P.S. Remind me to send you my twframework and framework files, a combination of mods based on bioni and black mesh with notification icons by s0niqu3 (her skills are unparalleled) and the accurate segmented battery mod (green as dont like the blue).
danr238 said:
Honestly I just want a plain touchwiz stock battery mod like how it should be. I started working on it but haven't picked it back up. I just want the stock color blue no percentage and it be accurate and compatiable with JI6.
Click to expand...
Click to collapse
You got it. I'm gonna get this up and running sometime this week. I take it you're on bionix?
Ps- I have created a blue battery mod WITH percentage ([Mod]Battery mod (blue, accurate) located somewhere in this thread.You can try it out to hold you over until I can get the new one up.
Sent from my SGH-T959 using XDA App
adm1jtg said:
This is what I believe are all the files needed for GTALK
*** Layout
chat_screen.xml
chat_view.xml
custom_title.xml
group_chat_approval.xml
picture_view.xml
search_results.xml
set_status.xml
*** Values
colors.xml
*** Drawable
chat_item_background.xml
In each there are settings for background of test color. It appears if we reverse the colors on them we may get the desired effect but I cant get it to work. Color codes appear to be FF000000 and FFFFFFFF
Any help yuo can provide would be much appreciated. Would also love to do this for other apps as I mentioned previously but have not had time to do a file compare on anything else.
P.S. Remind me to send you my twframework and framework files, a combination of mods based on bioni and black mesh with notification icons by s0niqu3 (her skills are unparalleled) and the accurate segmented battery mod (green as dont like the blue).
Click to expand...
Click to collapse
Sounds good. I'm away for the weekend, but I will contact you early next week. I'd like to get gmail running properly before moving on to other apps. Thanks for your help!
danr238 said:
Honestly I just want a plain touchwiz stock battery mod like how it should be. I started working on it but haven't picked it back up. I just want the stock color blue no percentage and it be accurate and compatiable with JI6.
Click to expand...
Click to collapse
I would love this for all the Froyo ROMs that are out. Or any morphs for that matter!
mentalex2 said:
You got it. I'm gonna get this up and running sometime this week. I take it you're on bionix?
Ps- I have created a blue battery mod WITH percentage ([Mod]Battery mod (blue, accurate) located somewhere in this thread.You can try it out to hold you over until I can get the new one up.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Yeah I've used your mod and like it. Thanks for taking request. Like I said I started working on it but with a 2 an 3 year old and my wife working nights I have no time to dedicate to it. Thanks again!

gray background dialer

Hello all, I would like to ask a question on dialer streakdroid 1.9. are
managed to make my Contacts.apk transparent by simply adding
theme.wallpaper styles.xml in the background of my dialer but continues to be increasingly
gray. how can I do to make it transparent?. thanks
custom dialer background
Ive been searching everywhere building and testing contacts.apk, Can someone with some more code knowledge have a peek at this please?
Ive dug through all the .xml's, the Manifest .xml, the .smali (even though I dont understand very much at all), there are only a few .png's the rest are .9.png, so Im sure the grey comes from code. in colors .xml there are a couple which match this dark gray perfectly, I changed those to black as well as styles Theme to Theme.Black, and Theme.Wallpaper(which will change the other 3 backgrounds but not dialer), ive tried changing background only in styles, no luck.
I saw on Dell website where it says Streak has Customized Dialer, which obviously we know, but I think ours is a unique situation
chrisrotolo said:
Ive been searching everywhere building and testing contacts.apk, Can someone with some more code knowledge have a peek at this please?
Ive dug through all the .xml's, the Manifest .xml, the .smali (even though I dont understand very much at all), there are only a few .png's the rest are .9.png, so Im sure the grey comes from code. in colors .xml there are a couple which match this dark gray perfectly, I changed those to black as well as styles Theme to Theme.Black, and Theme.Wallpaper(which will change the other 3 backgrounds but not dialer), ive tried changing background only in styles, no luck.
I saw on Dell website where it says Streak has Customized Dialer, which obviously we know, but I think ours is a unique situation
Click to expand...
Click to collapse
"Customized" is not a word I'd choose to use when describing the horrible dialer. Hope someday we can improve it. I really think the dialer is the worst part of the UI.
if I find it I will gladly make a guide to theme it.
I may even send Dell developer an Email... oh yeah too late not supported..
chrisrotolo said:
if I find it I will gladly make a guide to theme it.
I may even send Dell developer an Email... oh yeah too late not supported..
Click to expand...
Click to collapse
+1
I think the EOL is only USA. But I don't think the dell dev team cares too much about us
Brainstorming: Reference for anyone else trying to find this..
the dialer background is not a .png, most images are .9's I pretty sure the background is not a .9.png. There is only one .png close to the color and Ive already tried changing that one.
It could be a color in color.xml, they could have coded it as android:color, but if they did that it would likely be a solid color such as black or transparent, and would have to rely on framework-res. More than likely they would have made their own color in colors.xml, since there is only a dozen or so, at least 2 of which are almost identical greys, I have tried changing these colors to black with no luck.
Ive tried changing almost every .xml refernce I could find to a drawable window/background, etc. to android:color"black" , Theme.Black or 000000,
It could be in .smali, Is where I will dig next, I have tried checking a few of the codes I found in there, they seem to be based on a deep purple?
this is just reference use to help others who may search, wish me luck!!
spelling error found DialtactsActivity.smali line 205 says: const-string v3, "Dailtacts" ,yeah wonder if this why dialtacts theme doesnt theme completly.
some progress!
I fixed the spelling mistake in DialtactsActivity.smali, though i dont /think/ this is what we see. I did change call_background.xml and secondary_call background.xml all parameters to android:color/black, I will keep experimenting, funny how in vertical only the right side of keypad is black,
Once we find the right string , we should then be able to create a custom style instead of just a solid color and use a custom background.png
edit: FOUND IT!, cant post screenie, out right now, should release something later and info. Sit tight everyone.
found it
right where its "should" be, contacts\res\layout-long-finger and res\layout-long-land-finger. the first is portrait, second is landscape. the file for both is twelve_key_dialer.xml. The first line:
LinearLayout androidrientation="vertical" android:id="@id/top" android:background="#ff000000"
just change the android:background="ffRRGGBB" to whatever 6 digit RGB/hex value you desire.
working on this now to call out a custom.png will likely get scaled like cr4p, but will give it a go.
If you dont have any .9.png errors decompiling, then you can recompile and flash it straight away.
If you use my phone&contacts theme, it wont compile because some of my .9.pngs must not be patched. So use stock to change, then after compiling extract the new .apk. If youre using my theme or whatever, then change my contacts.apk to contacts.zip, open my contacts.zip as an archive with 7zip, copy the 2 twelve_key_dialer.xml's, and close. Then in your stock framework where you changed the .xml's go to resources.arsc and right click use 7zip to add to archive... browse and select your contacts.zip with new .xml's. Its important that archive method is .zip and compression must be set to store. make sure update mode is: add and replace files. Then rename back to contacts.apk and place in your update.zip and flash!
I plan on making a guide and probably a stock framework with a custom.png for everyone to use.

New S memo backgrounds

I want some mew backgrounds for the S memo app but have had no luck searching for any. A transparent background would be ideal. Any idea of how to implement this or a note app that supports transparent PNG files?
Over pulled the S memo app and will decompile it shortly to find the backgrounds. It doesn't seem to save them elsewhere on the SD card. However I'm unsure how to go about making a transparent image.
A white image with an opacity too it, then saved as a .png.. Give me some dimensions when you pull the backgrounds and I'll throw a few different variations your way.
Truaim said:
A white image with an opacity too it, then saved as a .png.. Give me some dimensions when you pull the backgrounds and I'll throw a few different variations your way.
Click to expand...
Click to collapse
Ok, it looks like they have the background as 3 or 4 parts. I'm not certain but I think that is how it'll have to be changed.
dropbox
edit. I could post the entire drawables folder if you'd like instead.
Got em, curious as to why there's multiple of the same image though. Will you be on for awhile? Would love to have this myself.
Truaim said:
Got em, curious as to why there's multiple of the same image though. Will you be on for awhile? Would love to have this myself.
Click to expand...
Click to collapse
Yeah, I'll be up for a bit. I'll upload the drawable folders now
Edit. They're up. http://db.tt/PcqSPqgq
Here's the 4 you dropboxed, Solid white for the toolbar and opacity through the body (75%, might need to be adjusted).
If the drawables doesn't need work and that works correctly, screenshot please
What about this one..
Truaim said:
What about this one..
Click to expand...
Click to collapse
that one is cool. I'm planning on using a completely transparent background so I can mod a FancyWidgets clock skin with the numbers will be in my handwriting. I'll recompile and install once I get done with this nandroid
Wow, that's personalization to the max. Are you compiling a truetype of 1-9 or what? However you do it, please share. That'd be an awesome guide.
I intend on just replacing the 0-9.png files in the skin I'm using. If it works out I'll post it here with some screenies. Can you go ahead and make one with 100% transparency?
It's not working. I'll try using the other one you made with Andy and see if I can see the difference then.
edit. Nothing. I'm thinking that the images are used in a different way to make the backgrounds. I'll look into it more and see if I can come up with the answer.
The android one won't work. I believe uploading a png as an attachment on XDA will automatically render it as a jpg. If you figure out which files to revise let me know.
S Memo Background
Regarding color schemes, i believe dark colored notes like the one used in S Planner in handwriting mode will be energy efficient for amoled screen devices and will also look great and elegant on any screen (like when you put it as a widget in the homescreen). I think the handwriting screen in s memo uses a dark gray background with light gray gridlines and an aqua blue font/handwriting lines. This makes it look great and unobstrusive.
Just a suggestion.
Not sure if you guys are already doing this, but you have edit the .9.png files in the drawable landscape and portrait xhdpi folders You cannot just overwrite a .9 png with a standard png or it will not work. I suggest googling how to edit .9 png files as I'm sure someone out there can explain it better than I can.
http://www.droidforums.net/forum/droid-themes/123430-tutorial-drawpatch9.html
http://forum.xda-developers.com/showthread.php?t=605662
did some searching hope these help
https://www.google.com/search?sourceid=chrome&ie=UTF-8&q=edit+the+.9.png
Truaim said:
Here's the 4 you dropboxed, Solid white for the toolbar and opacity through the body (75%, might need to be adjusted).
Click to expand...
Click to collapse
You HAVE to be rooted to use it?
Send from the Noteorious BIG 5.3" Bell Canada

Changing SecPhone and SecContacts background?

I would like to change the default background colors of these files from the bright white to a darker color. Can anyone point me to the right files to do so? I have decompiled the SecPhone.apk but am having trouble locating the file for the background.
Thanks in advance
Here You Go...
mhutton said:
I would like to change the default background colors of these files from the bright white to a darker color. Can anyone point me to the right files to do so? I have decompiled the SecPhone.apk but am having trouble locating the file for the background.
Thanks in advance
Click to expand...
Click to collapse
Here you go bro. Unzip and go to the vrtheme folder, navigate to system apps, and the png files should be there. I'd imagine these have everything, as I've yet to see an image my phone could throw at me that was a horrid white. There are hundreds of the dang things (and the names appear fairly self-explanatory), which is why people whom theme apps kind of blow my mind. I get the patience part, but the shear maddening level of updates would drive one to acts of horror.
Wish I knew how to do what you're doing. I have read that some feel this pair of apps can be a pain to recompile. That file should flash on any DeOdex rom which you may be running.

[Q] How to batch recolor PNG Images??

I am in the process of building a new ROM for the Galaxy Note 3. I have great experience with apk's and theming but i decided to take this a step further. I usually take icons from stock AOSP and port into a TouchWiz based ROM and use that as my theme but i want to change this next ROM up. They will be stock icons but with a green color. The name of my ROM is going to be "The Beast" and the green color will greatly add to the experience! Here is my problem though. I have Photoshop CS6 and I tried to change the white parts of the png files to green but it wouldn't happen. It would just turn greyish or just black. So then i was redirected towards Paint.net and i tried it out and it works amazingly except that it doesn't have a batch option or a way to recolor all of my images automatically. I don't have the time or patience to color 500 pngs + lol. Please lead me to what i need to do to get these icons recolored. Any help will be greatly appreciated!
Them your out of luck. Real theming takes hours and some times days to do all the icons properly. Also you can't edit any. 9 this way
Wayne Tech Nexus

Categories

Resources