need help with themeing framework and/or Gimp

Discussion in 'Droid X Hacks' started by Shelooga, Jan 24, 2011.

  1. Shelooga

    Shelooga Member

    Joined:
    Mar 26, 2010
    Messages:
    336
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Flyers Country
    Ratings:
    +0
    im trying to take a stock framework-res file and alter the .png images to my liking. im going to swap images out from all over the place but i also wanted to add my own colors to some objects. i noticed though some of the 'highlighted.png' or 'unfocused.png' files are orange in all ROMs and themes. and when i use gimp to fill the orange with green, the area turns black on most of these type of icon files. can anyone tell me why i cannot make these the color id like? im thinking it may have something to do with 'layered' images in gimp. but im new to image editing so im not sure how to access the invisible layers and such. but i am also wondering if tinkering with these seemingly protected icons will cause problems when i pack all this back together and try to push this.

    anyone input or help is greatly appreciated!!!
     
  2. Shelooga

    Shelooga Member

    Joined:
    Mar 26, 2010
    Messages:
    336
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Flyers Country
    Ratings:
    +0
    im 95% done a theme im working on. it works (besdies the battery disappearing while plugged in to charge), but im looking to really put my own spin on it.
    can anyone tell me if these .png files cannot be altered? or if they can, how to?

    fyi, the theme is a combo of icons from darkslide, radioactive, black juice and liberty green ginger. also putting the finishing touches on a boot animation of a dancing droid
     
  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
    Change from indexed mode to rgb... most likely why you can't alter
     
  4. Shelooga

    Shelooga Member

    Joined:
    Mar 26, 2010
    Messages:
    336
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Flyers Country
    Ratings:
    +0

    so if i change these from rgb to index mode will that screw with the end product when i put it all together? i kind of figured since the colors were the same in almost all the themes/roms ive unzipped and stripped down that i shouldnt mess with them. but i also noticed some icons that vary between themes/roms also are in this format and cannot be altered. but im not satisfied with just swapping these out; i want to make it the exact icon of my choice


    also, do you have any idea why the battery icons (taken from darkslide) will disappear when i plug the phone in? once it reaches full the 100% icon does show, but none of the animation before that..
     
    #4 Shelooga, Jan 25, 2011
    Last edited: Jan 25, 2011
  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
    No, if it is currently indexed then the color change may not take as well.... you want it as rgb...under image/mode in GIMP.
    As for some of the pngs you aren't able to mod, probably .9.pngs which should be modified while decompiled either by zooming in to about 400% with GIMP so that you can see the black guides, or nodded with draw9patch
     
  6. Shelooga

    Shelooga Member

    Joined:
    Mar 26, 2010
    Messages:
    336
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Flyers Country
    Ratings:
    +0


    thanks man, looks like ive got more work to do.
    if anyone can answer why the battery disappears only when charging i'll be their best friend?
     
  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
    Highest likelyhood is that the png for fully charged is named incorrectly.... so when the battery is fully charged and the xml calls for stat batt anim 5 or other, that png name isn't there

    make sure the batt you swapped in has the same name as the batt icons you pulled
     
  8. Shelooga

    Shelooga Member

    Joined:
    Mar 26, 2010
    Messages:
    336
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Flyers Country
    Ratings:
    +0



    any chance you would be able to tell me how i can create my own xml so that i could set the parameters to my choosing? there are so many special characters in the ones ive opened i havent wanted to mess with them
     
  9. 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 opened an undecompiled xml.... in order to be able to view and edit the XMLs as regular text, you need to decompile it....you should look into APKManager, it'll decompile APKs so that you can view all the XMLs, from there you can edit whatever, then recompile it
     
  10. Shelooga

    Shelooga Member

    Joined:
    Mar 26, 2010
    Messages:
    336
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Flyers Country
    Ratings:
    +0
    beautiful. thanks mbk!
     
  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
    np... the XMLs you appear to want to edit are usually in the drawables folder and would most likely be named as stat sys batt ***.xml, along those lines, one to set parameters and one to specify the called png name
     
Search tags for this page

modifying android icons with gimp

,

using gimp to modify android icons