08-21-2008 09:41 AM
I have placed a background image on a main screen and added a listfield on the screen,now I want the list field to be
scrolled vertically without scrolling the main screen image. But whenever I scroll the listfield items,the image is also getting scrolled. In short I want a stationary background image for a main screen.
Please provide a solution to this problem.
08-21-2008 10:31 AM
Wherever you are drawing the image (MainScreen paint probably), you could try using the clipping rect coordinates.
XYRect clip = graphics.getClippingRect(); graphics.drawBitmap( clip.x, clip.y, bitmap.getWidth(), bitmap.getHeight(), bitmap, 0, 0 );