(Q) Framework Layout for 2.2b4 in blue - XPERIA X10 Q&A, Help & Troubleshooting

Whats up my fellow x10 owners?
Heres where I am at... I am working on a theme for my x10 and here is my problem. My notifcation area text and all text trhough out the phone is black as it is originally from z.s 2.2b4 the theme is blue and black so i am trying to get all blue text through out and i really am not talented enough to change the xml files myself.
I was able to change the services.jar file to the color that i wanted FF 00 00 FF. And I know that the files that control the text and notification are in the framework-res folder. there is three that i know of but there might be more.
status bar xml status bar extended xml and another one
if there is anyone out there who could help me with those files or point me in the right direction so that i may edit them. it would be great.
i have the hex editor and can edit the file im sure. i just need to know what line and if the colors will be the same there as they are in the services.jar file
Thanks in advance
Update: I have successfully got the menus in white by transferring the xml files from xfx10 framework-res/layout
however my notifications are still black. any help getting them to be white as well or making them blue would be great.
right now as i have achieved one... maybe i will stick to white. however blue would be optimal..
also if anyof you know how i can modify the file for the clock so that it is no longer black would also be helpful to getting this closer to being done.
for right now it is for personal use and if possible i may release the rom/mod as a zip file upon proper permissions from the respectful devs that developed both the rom and the theme.
as the theme is coming from the captivate it is only proper to request that i release the theme from their rom on our beloved x10

Related

[Q] Need help customizing Malice III

I just flashed Malice III about a week ago, and must say I absolutely love it! All except for one problem i'm facing. In the screenshots, you'll notice my dropdown menu notifications have a solid black background. That fine for most things as the font color is white. But on my weather app and upon receiving txt's the font is black. I can't read it and its driving me bonkers. My question is how do I change the background color of the notifications? I looked through the image files in framework and twframework but cant find it. Im assuming i have to edit a script file, but im unsure of which one and how to do it. Can anyone please point me in the right direction?!?
In case you need to know, It's a Vibrant 3G running Malice III, DragonMODZ ssj4 kernel, OC'd to 1.4Ghz, KB5 Baseband.
I believe that is the status_bar_item_app_background_normal.9.png in the framework-res.apk, drawable-hdpi folder, you may need to change the status_bar_item_background_normal.9.png in the same folder as well.
Edited - the text color is controlled by scripting, the background is png files. Also, some apps don't rely on the framework values of the rom, rather values they code into their own apps, causing exactly what you are experiencing here.

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.

[Q/REQ] Status bar tweaks..

I have a couple tweaks that I want to make to my status bar and could really use some help. I'm new at this and have yet to try my hand at XML edits or the like and have only completed simple image swaps to date. The following are the two things I'd like to accomplish:
1. I want to remove the battery icon (not insert a transparent icon)
2. I want to re size the signal strength indicator. I have a custom image that I'm using, it works great and i have re sized the .png to where i want it but when i flash it, it is auto scaled to fit the original width of the previous image. I'm assuming that this is an XML edit? Along with re sizing this image, i'd like to center it on the status bar if possible, but this is not that big of a deal.
Any and all help anyone can provide would be greatly appreciated. Again, I'm very new to the more involved aspects of themeing but I'm also very eager and willing to learn. Thanks in advance for your time and patience.
Interested in learning more myself I was one of the of d1 themers but with sense 3.0 m10 files and more xmls I'm lost LOL. I can png and edit xmls decompile but as for what does what in the xml I'm lost
Sent from my Thunderbolt using Tapatalk

[Q] SAUROM ROM Notification Area

i rooted my note and installed saurom custom rom, and i love it. there's just one problem...
i'm trying to find out how to change the background of my notification area with this rom. i love the rom, but can't read news flashes when it's black text on the dark background of the notification area.
i've read the forums looking for answers, and tried using ninjamorph to modify the png's in the framework-res, but they didn't seem to take with this rom. after rebooting the phone, it still looks the same.
any assistance would be greatly appreciated.
hey everyone...
figured out how to edit the notification area.
used ninjamorph to edit system/framework/framework-res.apk
once this was opened, i found the two images i needed to edit in res/drawable-xhdpi
the entries were:
status_bar_item_app_background_normal.9.png
status_bar_item_background_normal.9.png
long press on each of these and choose edit. pick a high contrast color so that white and black text can be easily read. (i chose a bright blue)
thanks for all the help...

(Solved) Need help changing background color of Mms picture attached

Ok so i have Mms framework-res and systemui all decompiled i've tried everything i can't figure out how to change this background, i believe it's the same background that settings.apk uses so i'm assuming it's in framework-res somewhere but i've tried changing theme backgrounds .pngs .9.pngs and all kinds of colors and values and i can't seem to get it.
Any help would be EXTREMELY appreciated been trying to figure this out for several hours.
I'm going for a blackout theme with neon blue icons and writing.
the picture of what im trying to change is attached, i'm using cm 10.1.3 so if you want to try it on whatever phone you have u can get the files easily from the Cyanogenmod website and try it, or i can provide any decompiled files you may need to help me figure this out.
thanks in advanced.
as you can see i've already managed to change almost everything else but the 3 areas i circled with red lines are still not black and can't figure out how to change it.
(Solved) framework-res/drawable/xxxxxx.xml
replace xxxxxx with the filename for the background your theme uses, in my case it was background_holo_dark.xml and background_cache_hint_selector_holo_dark.xml
they use gradient values and mine was starting with dark and ending with grey so i changed to start and end with black

Categories

Resources