04-30-2009 03:11 AM
Presently MainScreen Title's background color is Black and foreground color is White.
But when we use custom theme then it may have different color for background and foreground.
Hence I need to fetch those color properties from MainScreen's Title.
How can I achieve this?
Solved! Go to Solution.
04-30-2009 03:22 AM
I think you want to color your application according to the background and foreground color! Override the paint method of the main screen and use graphics instance to call getColor( ) and getBackgroundColor( ) .. Save it to integer variables and use it wherever you need..
04-30-2009 03:26 AM
04-30-2009 03:32 AM
As far as this thing is concerned, I don't think there is an API to do this .. I surfed into Screen, FullScreen, MainScreen and didn't find any appropriate.. Also in to Managers..
And I also personally think that this is needless for RIM to expose it ..
04-30-2009 04:06 AM
Yes, before posting I too searched in the api's. But, cannot found anything relevant. Hence I doubt whether any API is there or not. So, I posted to confirm it.
Sometimes I may try to be perfectionist.