GravityBox/GravityBox — pull request #557 by alogblog (2014-02-16 12:35:08+00:00)
Title: User can enter a hex-code string into GB's varous intents' extra fields.

In GB, all color codes are represented with 4bytes integer, which is SIGNED value.

For example, 100% opaque white color's code has 0xFFFFFFFF, which is -1 in decimal, not 4294967295 = 2^32-1.
So if user want 100% opaque white color, he has to write -1 in intent's related extra field. Of course this conversion is not impossible, but I think it's not user-friendly, and not directly usable from value taken from GB's cololr-pickers.

This little modification allows user to enter "#FF00FF00"-like-string format directly into intent's extra fields.

Adpapted extra color fields.

[NaviBar]
EXTRA_NAVBAR_BG_COLOR
EXTRA_NAVBAR_KEY_COLOR
EXTRA_NAVBAR_KEY_GLOW_COLOR
[StatusBar]
EXTRA_SB_BG_COLOR
EXTRA_SB_ICON_COLOR
EXTRA_SB_ICON_COLOR_SECONDARY
EXTRA_SB_DATA_ACTIVITY_COLOR
EXTRA_SB_DATA_ACTIVITY_COLOR_SECONDARY
[Notificafion]
EXTRA_BG_COLOR
[Pie]
EXTRA_PIE_COLOR_BG
EXTRA_PIE_COLOR_FG
EXTRA_PIE_COLOR_OUTLINE
EXTRA_PIE_COLOR_SELECTED
EXTRA_PIE_COLOR_TEXT

For example if we want to have 100% opaque green naviBar background,
send intent filled with,
action = "gravitybox.intent.action.ACTION_NAVBAR_CHANGED"
extra = "navbarBgColor:#ff00ff00"