2011-04-20 4 views

Répondre

1

Je pense qu'il devrait être lissée comme ceci:

public void drawListRow(ListField listField, 
     Graphics graphics, int index, int y, int width) { 

    Bitmap bg = <here is the code to get your Bitmap for bg>; 
    // probably load that bitmap once in ListField constructor 
    // to speed up the drawListRow() 

    graphics.drawBitmap(0, y, bg.getWidth(), bg.getHeight(), bg, 0, 0); 
} 
+0

Je pensais que si je dessine seconde image (image de fond), il bloque premier. Mais si l'image de fond est dessinée en premier, il n'y aura pas de problème. Je vais essayer maintenant ... – redline

Questions connexes