menu font colors - Android Themes

Hey does anyone know what file in a rom defines what color the text in the menu is?
I was working on my rom and I did a bunch of editing to PNG files and a bit of XML and I can't find the file to change the color of the text in the menu. This is what happened accidentally when I changed some files...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
any help would be great
thanks,
ljbaumer

ljbaumer said:
Hey does anyone know what file in a rom defines what color the text in the menu is?
I was working on my rom and I did a bunch of editing to PNG files and a bit of XML and I can't find the file to change the color of the text in the menu. This is what happened accidentally when I changed some files...
any help would be great
thanks,
ljbaumer
Click to expand...
Click to collapse
i need to know the exact same thing .. im trying to get white text on menus

same here, Dell Streak Gingerbread theme black text=no good.
I heard its pretty involved to do, the creator of the gingerstreak theme said he would update it but its been a week already.

I just did this tonight. It requires a lot of work. You have to decompile the framework-res.apk using APKManager. Then, find and edit res/values/styles.xml. Recompile and resign the app. Simply unzipping the .apk with 7zip isn't enough, you need to actually decompile and recompile it. And when you get APKTool make sure you get the 1.3.1 deprecated one, not the newest 1.3.2 version or you will bootloop.
You have to combine the posts from these 2 threads, they are very short.
http://forum.xda-developers.com/showthread.php?p=9719727
http://forum.xda-developers.com/showpost.php?p=8316984&postcount=2297

Related

[THEME] - Status Bar Icons (CDMA)

I modified most of the icons for the CDMA hero because they all contain a background image that prevents slick changes to the status bar.
(The sync icon is completed but I am unable to find where it is actually loaded from, so if you can let me know, thanks in advance)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You can see them in use on my gold theme at: http://forum.xda-developers.com/showthread.php?t=593066
I've attached my illustrator file, all of the icons are grouped and easily changable.
I've got them cut into named slices so you can save them for device/web from within illustrator and all of their file names will be the correct ones to be placed within the resources and framework packages.
Feel free to modify them and include them in this thread for others to download if you wish.
Illustrator File
Wow!!!
Thats very useful!
I'll do that for GSM with clear background.
Could I take some of them for my themes for Hero?
Formel-LMS said:
Could I take some of them for my themes for Hero?
Click to expand...
Click to collapse
You're welcome to do whatever you'd like with them.
Merci!
Thanks!
Danke!
Bedankt!
Nice work!
I will update my CDMA green theme with some of these. Please could you upload them as .png files zipped up? I don't have Illustrator.
pookie1 said:
Nice work!
I will update my CDMA green theme with some of these. Please could you upload them as .png files zipped up? I don't have Illustrator.
Click to expand...
Click to collapse
Icons zipped up and named in png-24 format.
http://www.4shared.com/file/168967490/d54d7cf7/icons.html
Nice one, you are the man!

[q] how to modify the lockscreen layout?

i want to modfy the font type/size of the clock and maybe remove some elements as they spoil the look:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
even if i knew which xml file to play with they don't seem that easy to edit....
anyone done this or know how?
ta
apes
This is quite a tricky task. I am not very knowledgeable in this area but i do know that you can use the apktool(google it) to access the xml files. But my suggestion would be to look for another lockscreen that might suit you more.
Most of what you want can be achieved by editing the file 'keyguard_screen_tab_unlock.xml'
This is located inside the 'framework-res.apk' in \res\layout
You will need to unpack the 'framework-res.apk' using apktool to get at the .xml file to edit it.
An example of what can be done can be seen by phinnaeus in this thread:- http://forum.xda-developers.com/showthread.php?t=735480
cheers both, got the file and edited which was easy enough. rebuilding the apk doesn't seem as straightforward..
Hmmm, the rebuild should as simple as the unpack (in theory). If you get it working I'd like to see the result
Would be good to see some nice custom Lockscreen's.
it repacks ok but i needed to copy the original resources.arsc back in to avoid errors. ended up trying two things:
flash the recompiled apk as update - hangs at boot.
stick the recompiled xml in the original apk & flash - hangs at boot.
flash a recompiled apk without editing the xml - hangs at boot.
for some reason the recompiled apk is much bigger than the original, seems so have a few extra folders in there.
away for a few days but will post back when i've managed this. why the fokk the xmls are binary i don't know; editing sony ericsson xmls was so much easier....

[Q] Help with themeing an .apk

Ok here is my dilema, I am trying to take this .apk (it's a clock):
https://www.dropbox.com/s/rkyy0n1tba6xleu/Mods/Sshick Animated
and change a few of the .pngs to make it a little more to my liking, I have red animated second hands and a background with the "Miui" erased. I opened it with 7zip and replaced the the .pngs with mine and everything seemed to go just fine. But when I try and install it on my phone it says "Installation failed" whereas the original ^ installed like a regular .apk through Astro just fine. The only way I could get it to install was by pushing it to system/app with RootExplorer, but I would like non-rooted people to be able to enjoy this.
So my question is, did I package it wrong or did I have to edit an .xml or something or what did I do that makes it not install like the original? Because I didn't think just swapping out some .pngs would cause that much of a change. And yes they were all named exactly the same as the original and I have no other versions of the clock installed at the time. Thanks in advance for any help that can be given.
This is what the clock looks like when it's finished (installed via RootExplorer):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I believe you need to sign it again. Search for Auto-Sign app.
You have to sign it. You can do it on your phone with Signapktic from Stericson on the Market. Or there's a bunch of ways to do it on your computer, the easiest being the Auto signer.
Wow thank you guys so much for the help, I knew it was something like that but didn't know how to fix it. Got it working though and it looks good and installs just like it's supposed to. Idk if it's your kind of thing, but I attached the apk so you can use it or test it out or whatever. Thanks again.

RED TINTED ROSIE for ARHD 6.3.x - I could need some help

As the title says, I want to create a red tinted Rosie, but I never did that before.
Here are some questions I have:
How do I have to repack the Rosie.apk? Using 7-zip and replacing zip with apk?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Is common_title_bar.9 (Based on sigurd_LU's) the graphic for the titlebar and if I make it 50% alpha I can see the wallaper shining through?
marc2040 said:
As the title says, I want to create a red tinted Rosie, but I never did that before.
Here are some questions I have:
How do I have to repack the Rosie.apk? Using 7-zip and replacing zip with apk?
Is common_title_bar.9 (Based on sigurd_LU's) the graphic for the titlebar and if I make it 50% alpha I can see the wallaper shining through?
Click to expand...
Click to collapse
If your on a sense 3.0 Rom, all the dock images are in fusion.apk not Rosie. If your wanting to adjust transparency or color, that's where to.change it. I adjust the transparency by playing with the layers
Sent from my Inspire 4G using XDA App
You want to make the rosie dock reddish? (? rötlich in german)
That's not possible at the moment, as Rayford said, the image itself can't be decoded with the current m10 editor. Only thing that can be done is change transparency (opacity) values. I attached a screenshot of my edits.
Then I was totally wrong.
I thought that can be done by changing the png´s and their colors.
Bloody beginner
For apk's which contain no m10 files, like SystemUI.apk or framework-res.apk, changing png files is normally the right thing to do if you want sth like this. You weren't completely wrong

[Q] How do I edit the text of pop-up lists & the location of the particular xml file?

[Q] How do I edit the text of pop-up lists & the location of the particular xml file?
Hello.
I wanted to edit the text of the pop-up lists to another color.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
As the above image suggests, the text color cannot be seen.
So, I wanted to know how to change the pop-up list's text color to white or any other color.
I do not know the location of the particular xml file which contains the text color of the list.
I searched a lot, and almost all the users that did ask this ques never got an answer..
So, if anyone knows the location, do share it.
Thank You.
PS: I want to write down this location in a diary, open it up and check it after 3 decades!:fingers-crossed:
I think u have to edit framework-res.apk.
Just decompile it and try.
bandarigoda123 said:
I think u have to edit framework-res.apk.
Just decompile it and try.
Click to expand...
Click to collapse
Yes, or a theme can be edited.
But, I do not know the file to be edited.. And, there are too many styles, and I do not know which style contains the text color of pop-up lists.
It's not exactly mentioned..
Then u have to learn it yourself
Sent from my E16i using Tapatalk 2
Are you sure?
Do u think it cud magically get edited by a computer with a conscience? I really need to know!

Categories

Resources