проверьте этот код.
public class CustomScreenTitle extends HorizontalFieldManager {
private Bitmap titleHeaderImg= null;
public CustomScreenTitle(String title, Resolutions resolutions){
super(Manager.NO_VERTICAL_SCROLL | Manager.NO_VERTICAL_SCROLLBAR | USE_ALL_WIDTH);
titleHeaderImg = Bitmap.getBitmapResource("header.png");
Font f = Resolutions.titleFont;
int headerWidth = f.getAdvance(title);
Padding p = resolutions.setTitlePadding(headerWidth);
CustomLabelField titleLabel = new CustomLabelField(title, Field.FIELD_HCENTER, p, Resolutions.titleFont);
titleLabel.setFontColor(Color.WHITE);
add(titleLabel);
}
public void paint(Graphics graphics)
{
graphics.clear();
if(titleHeaderImg != null)
graphics.drawBitmap(0, 0, titleHeaderImg.getWidth(), titleHeaderImg.getHeight(), titleHeaderImg, 0, 0);
super.paint(graphics);
}
}