简体   繁体   中英

How Can I create a grid layout of images in Blackberry

How can I make a grid of images in Blackberry. I would like to see a sample code that creates a grid layout with bitmaps and the bitmaps should be able expand to fit to screen when a user clicks or touches them.Thanks in advance.

This documentation on creating a grid layout from the blackberry website might help you with creating a grid of images.

For loading bitmap, there is documentation also available on the blackberry website called a bitmap field .

Further details on handling clicks and combining the grid and images might be found in this related stackoverflow question: How to add images to the grid view and adding click function to these images?

Making an image go fullscreen when clicked is an exercise left to the reader (for now).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM