Problem on screen. Thank you

In the constructor of the screen, I set the background color as this:

Background bg = BackgroundFactory.createSolidBackground (Color.BLACK);
manager.setBackground (bg);

This screen has a listfield. the problem is:

If the size of listfield bigger than the size of the screen. Display screen and the masses of color background.

After I refresh the screen. I have clean the listfield or to reduce the order of the day. then the screen cannot show corretly.

Thank you. I found the solution, the code below:

Super (new VerticalFieldManager(NO_VERTICAL_SCROLL |) USE_ALL_HEIGHT),

Simply set the NO_VERTICAL_SCROLL AND USE_ALL_HEIGHT of
DEFAULT_CLOSE | DEFAULT_MENU);

Director = getDelegate() (VerticalFieldManager);
Background bg = BackgroundFactory.createSolidBackground (Color.BLACK);
manager.setBackground (bg);

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for