Menu Font color help

Discussion in 'Android Hacks and Help' started by garrett, Jan 29, 2011.

  1. garrett

    garrett Silver Member
    Theme Developer Developer

    Joined:
    Oct 31, 2009
    Messages:
    2,017
    Likes Received:
    5
    Trophy Points:
    103
    Location:
    In a van by the River......
    Ratings:
    +5
    okay i edited styles.xml to change the font color of this menu which worked perfectly the font is white and when pressed it turns black just as it should.

    [​IMG]

    but if you hit more and get the expanded menu the text is black on black. Does anyone know where this is controlled within styles.xml ive looked through the entire thing and cant seem to find it.

    [​IMG]


    any help would be greatly appreciated.
     
  2. es0tericcha0s

    es0tericcha0s Premium Member
    Theme Developer Premium Member

    Joined:
    Aug 6, 2010
    Messages:
    283
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Orlando, Fl.
    Ratings:
    +0
  3. garrett

    garrett Silver Member
    Theme Developer Developer

    Joined:
    Oct 31, 2009
    Messages:
    2,017
    Likes Received:
    5
    Trophy Points:
    103
    Location:
    In a van by the River......
    Ratings:
    +5
    thanks for that it actually helped with something else but the strings listed in that thread arent in my styles.xml for some reason. There isnt even anything close.


    ill have more time to dig through it tomorrow while at work ill see what i can come up with.
     
  4. es0tericcha0s

    es0tericcha0s Premium Member
    Theme Developer Premium Member

    Joined:
    Aug 6, 2010
    Messages:
    283
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Orlando, Fl.
    Ratings:
    +0
    Alright...sorry about that. I have changed it before, but forgot the exact string to look for. I found that post, and thought it was what we needed. Anyway, this is what you need:

    <style name="Theme.ExpandedMenu" parent="@style/Theme">
    <item name="listViewStyle">@style/Widget.ListView.Menu</item>
    <item name="windowAnimationStyle">@style/Animation.OptionsPanel</item>
    <item name="background">@null</item>
    <item name="itemTextAppearance">?textAppearanceLargeInverse</item>

    You need to change the ?textAppearanceLargeInverse to just ?textAppearanceLarge.

    Enjoy. :)


    PS. I dunno why it has a space on Inverse, but it doesn't when I go to edit the post...
     
  5. garrett

    garrett Silver Member
    Theme Developer Developer

    Joined:
    Oct 31, 2009
    Messages:
    2,017
    Likes Received:
    5
    Trophy Points:
    103
    Location:
    In a van by the River......
    Ratings:
    +5
    whats weird is none of that string is anywhere in the styles.xml i have. if you dont mind taking a look i attached my styles.xml it would be greatly appreciated.

    rename it from styles.zip to styles.xml

    ill have more time tomorrow while at work since i don't have anything to do this week i just have to be there.
     

    Attached Files:

  6. es0tericcha0s

    es0tericcha0s Premium Member
    Theme Developer Premium Member

    Joined:
    Aug 6, 2010
    Messages:
    283
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Orlando, Fl.
    Ratings:
    +0
    Hey man, I just started looking at this a bit ago, but I've been up for a long time now and it's really not sinking in. LoL What rom is this from? I've never seen a styles.xml quite like it. Granted, I'm not exactly an expert, but I've probably looked at at least 8 - 10 different ones, and this is kind of unique. Was the original format like this too? It's really confusing to read when it isn't line by line... I'll have another look at it later. Till then...good luck.
     
  7. garrett

    garrett Silver Member
    Theme Developer Developer

    Joined:
    Oct 31, 2009
    Messages:
    2,017
    Likes Received:
    5
    Trophy Points:
    103
    Location:
    In a van by the River......
    Ratings:
    +5
    this is how it is originally thats also why im having problems with it too..

    its from a Droid Concepts (Woodyman) rom thats still beta right now. The rom's core files are all based off CM 6.1.2.
     
Search tags for this page

android menuitem text color

,
change font color on samsung galaxy s3
,
how to change font color on galaxy s3
,

how to change menu font color on android

,
menu android text color