03-15-2011 09:43 PM
Hi, this may be a silly question, but is there a way for me to specify the position of the bitmap to add inside the BitmapField?
I already added the bitmapfield to the screen and I want to add multiple bitmaps inside the field but at certain locations specified. Is there a way to do this without changing the bitmapfield location?
Solved! Go to Solution.
03-15-2011 11:51 PM
There is one Bitmap per BitmapField, but you can add multiple BitmapFields to the screen. If you want to space them out, check Field.setMargin methods. For the explanation on how margins work, check the Javadoc on VerticalFieldManager and HorizontalFieldManager.
If you prefer specific positions, use (or, for pre-6.0 systems, recreate) an AbsoluteFieldManager:
03-16-2011 02:49 AM
Hi thank you for replying! Creating absolutefieldmanager seems quite complicated and lot of work!
I've found a way to achieve what I needed by processing multiple paint.drawBitmap!
Thanks for the help!