My Blog List

Monday, September 26, 2011

Definitions on colors.xml

Since I've been theming for a few months now, I always get confused as to what colors in colors.xml go where. So I figured I would make a post defining the colors for others to use. I did this by editing the file to every color of the rainbow, then finding where the colors were located.

My colors.xml file part 1

<color name="darker_gray">#ffhexcolor</color> Red
<color name="white">#ffhexcolor</color> Orange
<color name="black">#ffhexcolor</color> Yellow
<color name="transparent">#00000000</color> Transparent - left alone
<color name="background_dark">#ffhexcolor</color> Lime
<color name="background_light">#ffhexcolor</color> Cyan
<color name="safe_mode_text">#ffhexcolor</color> Blue
<color name="bright_foreground_dark">#ffhexcolor</color> Purple
<color name="bright_foreground_dark_disabled">#80hexcolor</color> Bright Pink
<color name="bright_foreground_dark_inverse">#ffhexcolor</color> Dark Red
<color name="dim_foreground_dark">#ffhexcolor</color> Dark Purple
<color name="dim_foreground_dark_disabled">#80hexcolor</color> Navy
<color name="dim_foreground_dark_inverse">#ffhexcolor</color> Dark Cyan
<color name="dim_foreground_dark_inverse_disabled">#80hexcolor</color> Green
<color name="hint_foreground_dark">#ffhexcolor</color> Dark Yellow
<color name="bright_foreground_light">#ffhexcolor</color> Brown

purple text


Yellow 


Brown 

Brown and Purple


Purple and Brown


purple text, lime glow and dark red dividers


Lime when focused



Orange, brown and pink

Orange on my outgoing, still white on incoming. Dark yellow in "Type to compose"

It was hard to get a pressed photo, but the pressed it the bright pink on the menu.

My colors .xml part 2



<color name="bright_foreground_light_inverse">#ffhexcolor</color> Red
<color name="bright_foreground_light_disabled">#ffhexcolor</color> Orange
<color name="dim_foreground_light">#ffhexcolor</color> Yellow
<color name="dim_foreground_light_disabled">#80hexcolor</color> Lime
<color name="dim_foreground_light_inverse">#ffhexcolor</color> Cyan
<color name="dim_foreground_light_inverse_disabled">#80hexcolor</color> Blue
<color name="hint_foreground_light">#ffhexcolor</color> Purple
<color name="lighter_gray">#ffhexcolor</color> Bright Pink
<color name="perms_dangerous_grp_color">#ffhexcolor</color> Dark Red
<color name="perms_dangerous_perm_color">#ffhexcolor</color> Dark Purple
<color name="shadow">#cc940c3c</color> Navy
<color name="search_url_text_normal">#ffhexcolor</color> Dark Cyan
...
<color name="keyguard_text_color_normal">#ffhexcolor</color> Green
<color name="keyguard_text_color_unlock">#ffhexcolor</color> Dark Yellow
<color name="keyguard_text_color_soundoff">ffhexcolor</color> Brown

I couldn't find much in the 2nd part. I only found the colors Orange and Yellow
Yellow in the little info text
Orange in the disabled button






Yellow in the loading bar for the browser