I want to add a LabelField in the bottom and right of the screen in Blackberry. For setting the label at the bottom of the screen,
I used,
this.setStatus(lbl_version);
which gives the output perfectly fine, but, behind labelfield, the background image is not set. The label is set on white plain background. I want to set the label on the background image as well as bottom of the screen.
Please see following image URL and you will have better idea.
Thanks in advance. Please help me.
I would add this as a comment to Nate's answer, but I don't have enough space, and I can't format the code in a comment.
I think Nate's solution works because he is using a solid colour and there is no Title or Banner area. I don't think it will work when using a bitmap or a gradient as the background and there is a title or banner.
To understand the answer you need to understand the Managers used in a MainScreen. As I understand it, there are a number of Managers used. One - the delegate Manager, is used for the whole screen. Added to this are:
The delegate Manager will provide background for all the other Managers, if they are transparent. My testing suggests that the background for the Managers for the Banner Field and Status Field are transparent. The background for the Manager for the Title Field is not - it is black - but changing it appears problematic.
Anyway, in my testing, to match the requirement, all you need to do is set the delegate Manager's background as required, and set the MainManager's background to transparent.
The following code is set up in a way that I think answers the question. However I have also left a number of commented out lines that I suggest you uncomment and note the effect. It is interesting (at least to a sad person like me).
Finally, can I recommend this article for some interesting reading on MainScreen.
MainScreen explained