Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
JsinLegacy
Old
#1  
JsinLegacy's Avatar
Senior Member - OP
Thanks Meter 37
Posts: 149
Join Date: May 2010
Default Modifying Text Color In Options Menu

At the bottom of the image where it says 'add', 'wallpaper', 'settings'...etc
I am wanting to know how to edit that text color or if anyone knows what xml its located in. I tried searching but keep coming up empty so if anyone knows how to change the color of it please let me know.

 
Brut.all
Old
#2  
Recognized Developer
Thanks Meter 248
Posts: 1,455
Join Date: Jul 2009
I don't really know, where did you searched. I have unpacked framework-res.apk, looked into res/layout dir and voila: menu_item.xml .

Seems this isn't possible to do at app level - only globally.
G+ | apktool | Ingress broot mod | Brut Google Maps (dead)

If you like me you can buy me a droidburger!
 
KillerCookie
Old
#3  
Junior Member
Thanks Meter 0
Posts: 23
Join Date: Jul 2010
Hi,

i got the "menu_item.xml" file but inside there are no colors defined. I searched the other places but i donīt really understand such a complex theme-system. Can somebody help und point me to the right place?

Thanks in advance.

Maik
 
SpeeDemon
Old
#4  
Member
Thanks Meter 1
Posts: 97
Join Date: Dec 2009
Location: Abbotsford
Quote:
Originally Posted by KillerCookie View Post
Hi,

i got the "menu_item.xml" file but inside there are no colors defined. I searched the other places but i donīt really understand such a complex theme-system. Can somebody help und point me to the right place?

Thanks in advance.

Maik
I too am looking to make similar edits. However, finding the font colors for all the system variables is confusing, and hard to search for. I want to change the font colour in the Settings app/menu area.
 
rori~
Old
#5  
rori~'s Avatar
Senior Member
Thanks Meter 446
Posts: 3,817
Join Date: Aug 2009
Location: Vienna

 
DONATE TO ME
Ok, I had a look ...and changed the color...not that I wanted to have it red itīs only to proof it...
Attached Thumbnails
Click image for larger version

Name:	device.jpg
Views:	165
Size:	36.6 KB
ID:	388425  
#SG3, LG 2X
#CyanX Lock Screen
#LockscreenMod #BlackSmilies #BlackWidgets #SmokedWidgets #ADW ThemeSmoked #Statusbar PulldownMod #Tmo-CM7 Themes: HoneycreamTheme..

#Twitter
-------------------------------------------------------
If you like my work, buy me a cold Budweiser
 
KillerCookie
Old
#6  
Junior Member
Thanks Meter 0
Posts: 23
Join Date: Jul 2010
Quote:
Originally Posted by rori~ View Post
Ok, I had a look ...and changed the color...not that I wanted to have it red itīs only to proof it...
Can you please share the name of the file youīve edited to change those colors?
 
YoungSinema
Old
#7  
YoungSinema's Avatar
Senior Member
Thanks Meter 101
Posts: 537
Join Date: Jun 2010
Location: Lancaster, CA

 
DONATE TO ME
Quote:
Originally Posted by rori~ View Post
Ok, I had a look ...and changed the color...not that I wanted to have it red itīs only to proof it...
Anyone know how to do this?
 
Lasy
Old
#8  
Lasy's Avatar
Senior Member
Thanks Meter 11
Posts: 113
Join Date: Jul 2010
Location: Budapest
I extracted framework-res.apk

framework/res/values-320x240/colors.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<resources>
    <color name="darker_gray">#ffaaaaaa</color>
    <color name="white">#ffffffff</color>
    <color name="black">#ff000000</color>
    <color name="transparent">#00000000</color>
    <color name="background_dark">#ff1a1a1a</color>
    <color name="background_light">#ffffffff</color>
    <color name="safe_mode_text">#80ffffff</color>
    <color name="bright_foreground_dark">#ffffffff</color>
    <color name="bright_foreground_dark_disabled">#80ffffff</color>
    <color name="bright_foreground_dark_inverse">#ff000000</color>
    <color name="dim_foreground_dark">#ffbebebe</color>
    <color name="dim_foreground_dark_disabled">#80bebebe</color>
    <color name="dim_foreground_dark_inverse">#ff323232</color>
    <color name="dim_foreground_dark_inverse_disabled">#80323232</color>
    <color name="hint_foreground_dark">#ff808080</color>
    <color name="bright_foreground_light">#ff000000</color>
    <color name="bright_foreground_light_inverse">#ffffffff</color>
    <color name="bright_foreground_light_disabled">#80000000</color>
    <color name="dim_foreground_light">#ff323232</color>
    <color name="dim_foreground_light_disabled">#80323232</color>
    <color name="dim_foreground_light_inverse">#ffbebebe</color>
    <color name="dim_foreground_light_inverse_disabled">#80bebebe</color>
    <color name="hint_foreground_light">#ff808080</color>
    <color name="lighter_gray">#ffdddddd</color>
    <color name="perms_dangerous_grp_color">#ffdd6826</color>
    <color name="perms_dangerous_perm_color">#ffdd6826</color>
    <color name="search_url_text_normal">#ff7fa87f</color>
    <item type="color" name="search_url_text_selected">@color/black</item>
    <item type="color" name="search_url_text_pressed">@color/black</item>
    <item type="color" name="search_widget_corpus_item_background">@color/lighter_gray</item>
    <item type="color" name="sliding_tab_text_color_active">@color/black</item>
    <item type="color" name="sliding_tab_text_color_shadow">@color/black</item>
    <color name="hw_startColor">#ffffd300</color>
    <color name="hw_centerColor">#ffffb600</color>
    <color name="hw_endColor">#ffffcb00</color>
    <color name="hw_startColor_sec">#80ffd300</color>
    <color name="hw_centerColor_sec">#80ffb600</color>
    <color name="hw_endColor_sec">#a0ffcb00</color>
    <color name="hw_state_selected">#ffffffff</color>
    <color name="hw_not_selected">#ff808080</color>
    <color name="hw_statusbar_time">#ff000000</color>
    <color name="hw_textColorHighlight">#ffff9200</color>
</resources>
maybe...
_Lasy_
 
rori~
Old
#9  
rori~'s Avatar
Senior Member
Thanks Meter 446
Posts: 3,817
Join Date: Aug 2009
Location: Vienna

 
DONATE TO ME
No, if you change one of colors.xml, you probably change other stuff too...
If I remember right, it's in drawables or styles... something like "itemMenu"


Sent from my Nexus One
#SG3, LG 2X
#CyanX Lock Screen
#LockscreenMod #BlackSmilies #BlackWidgets #SmokedWidgets #ADW ThemeSmoked #Statusbar PulldownMod #Tmo-CM7 Themes: HoneycreamTheme..

#Twitter
-------------------------------------------------------
If you like my work, buy me a cold Budweiser
 
YoungSinema
Old
#10  
YoungSinema's Avatar
Senior Member
Thanks Meter 101
Posts: 537
Join Date: Jun 2010
Location: Lancaster, CA

 
DONATE TO ME
Quote:
Originally Posted by rori~ View Post
No, if you change one of colors.xml, you probably change other stuff too...
If I remember right, it's in drawables or styles... something like "itemMenu"


Sent from my Nexus One
Thanks, I'll check it out tomorrow

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Open Source CPU Info App for Windows

So you’re playing with your shiny new Windows 8 tablet PC, when one of your like-minded geeky … more

Guide to Using Adobe Air on Android

When writing an app with performance in mind, you most likely want to write it native code using the … more