I am working on implementing a gallery, I tried GridFieldManager for this, but the images of the thumbnail are not of same size. I sneaked through the gridfieldclass but there are no methods for making the cell size of each image constant. Is it worth to use flowfieldmnager? When I tried overriding sublayout method for the above two managers it is not giving the desired reults.

Is it possible to sublayout flowfieldmanager?

Device : Blackberry 9780, OS 6.0

The below image is the desired result I am trying to get

enter image description here

有帮助吗?

解决方案

I advice you to use a simple FlowFieldManager. But instead of BitmapField inside it, extend a Field to do the following:

  • setExtent to 1/4 of the Display width in the sublayout method
  • draw your own focus in the border of the image
  • draw your own borders and draw the image in the center of the field's extent
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top