black on black problem in first theme

Discussion in 'cvpcs' started by lurch81, Dec 30, 2010.

  1. lurch81

    lurch81 Member

    Joined:
    May 16, 2010
    Messages:
    242
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Not sure where to put this but I am making my first theme and its for Sapphire 2.0.0 and have made a lot of progress today mainly borrowing things from 2 themes i like(with permission of course) and I have one problem of black on black text on buttons and have no idea how to correct it. Anyone willing to give me a hand I would greatly appreciate it feel free to gtalk me Rustylurch thanks!
     
  2. Droid DOES!!

    Droid DOES!! What iDoesn't Theme Developer Premium Member

    Joined:
    Jun 12, 2010
    Messages:
    6,375
    Likes Received:
    35
    Trophy Points:
    178
    Ratings:
    +35
    Learning to theme myself! Ok if I follow along?

    DroidForums junkie!!
     
  3. Mbk

    Mbk Android For Life Theme Developer Premium Member

    Joined:
    May 4, 2010
    Messages:
    4,167
    Likes Received:
    4
    Trophy Points:
    153
    Ratings:
    +4
    Sounds like you are editting a lighter shaded button, that calls for black text, to black.....either lighten the png or you will need to isolate the xml that specifies that text color, and change it from ff000000 to ffffffff (or any other light color code)
     
  4. lurch81

    lurch81 Member

    Joined:
    May 16, 2010
    Messages:
    242
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Hmm guess I got searching to do to figure out where all these text colors go....I started with stock sapphire and added darker buttons I wonder if I started with dark theme would I have this problem?

    Sent from my Droid using Tapatalk
     
  5. Mbk

    Mbk Android For Life Theme Developer Premium Member

    Joined:
    May 4, 2010
    Messages:
    4,167
    Likes Received:
    4
    Trophy Points:
    153
    Ratings:
    +4
    You just can't make light buttons black unless the font is a neutral color like my blues or bronzes... if the text is supposed to be black, then the button cannot be black...wouldn't matter what theme you used.... but if that theme has the buttons you want black already black, then you're set...;)
     
  6. lurch81

    lurch81 Member

    Joined:
    May 16, 2010
    Messages:
    242
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Yeah guess I need to find a theme that already has this problem fixed cause I am lost on doing xmls

    Sent from my Droid using Tapatalk
     
  7. Mbk

    Mbk Android For Life Theme Developer Premium Member

    Joined:
    May 4, 2010
    Messages:
    4,167
    Likes Received:
    4
    Trophy Points:
    153
    Ratings:
    +4
    It's not that it is a problem being fixed, it;s just that theme had that button black and the font set to a light color...

    to edit XMLs, you'd need to decompile them... APKManager is a good start for you, if you already don't have it...
     
  8. lurch81

    lurch81 Member

    Joined:
    May 16, 2010
    Messages:
    242
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    What if I used the smoked glass theme as the base? It has white on black so if I put black buttons shouldn't affect anything?

    Sent from my Droid using Tapatalk
     
  9. ecsnead69

    ecsnead69 Premium Member Theme Developer Premium Member

    Joined:
    May 6, 2010
    Messages:
    1,316
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    Virginia
    Ratings:
    +1
  10. lurch81

    lurch81 Member

    Joined:
    May 16, 2010
    Messages:
    242
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    thanks this is very helpful now i have a good guide to start tinkering with xml's
    Got one problem though when i open an xml in notepad it looks nothing like your examples i get like question marks and a word here and there
     
  11. Mbk

    Mbk Android For Life Theme Developer Premium Member

    Joined:
    May 4, 2010
    Messages:
    4,167
    Likes Received:
    4
    Trophy Points:
    153
    Ratings:
    +4
    You have to decompile the XMLs in order to edit them with Notepad (I suggest Notepad++) .... that's what I was talking about when referencing APKManager for you
     
  12. lurch81

    lurch81 Member

    Joined:
    May 16, 2010
    Messages:
    242
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Yeah posted before thinking lol thanks again

    Sent from my Droid using Tapatalk
     
  13. lurch81

    lurch81 Member

    Joined:
    May 16, 2010
    Messages:
    242
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    think i might have got this sorted out flashing now to test thanks again for your help every1