CheckboxField Tick color
My employers want a BlackBerry which looks and feels exactly like their current app to reduce training time. Currently they're using 4.5 and the project is in 5.0 which as you can imagine presents many problems with this requirement.
There is one very minor issue I have with the CheckboxField and that's the color of the tick. In 4.5 the tick is g开发者_运维问答reen where as in 5.0 it's blue. I've asked my employers to just deal with the blue tick but they said 'no, it must be green!'.
Does anyone know an easy way to achieve this without rewriting the entire paint class?
You may think this sounds like a silly/superficial question and I'd agree with you but unfortunately for me; it's a requirement they just won't budge on!
Thanks,
Graeme.
you can Override
applyTheme()
inMainScreen
and left that empty.protected void applyTheme(Graphics arg0, boolean arg1) { }
you can use Characters.BALLOT_BOX and Characters.BALLOT_BOX_WITH_CHECK for creating your custom checkbox.
精彩评论