« »

New Tutorial – Working with BlackBerry Layout Managers

Posted October 4th, 2009 by Nazmul

We believe in the power of ONE, at ScreamingToaster. We believe in innovation - ONE experience can change a person's life. We believe in partnerships - ONE endeavor can establish lasting trust & mutual success. We believe in education - ONE training course can empower a developer for life. We believe in giving back - ONE open-source project can inspire future entrepreneur. ONE person can become the leader that starts a revolution. ONE company can change the world and make it a better place - join us.

This tutorial will simply walk you through the various layout managers available to you using RIM’s UI API (not MIDP). RIM’s layout managers are akin to Swing layout managers, and allow you to arrange lots of fields (aka components in Swing), on the screen. You can create your own layout managers, just like in Swing, but this tutorial will show you how to use the built in ones. If none of the layout managers shown here work for you, then you can composite layout managers to get the desired look for your app, before creating your own.

Proceed to the full tutorial - Creating your first GUI BlackBerry App

 

We believe in the power of ONE, at ScreamingToaster. We believe in innovation - ONE experience can change a person's life. We believe in partnerships - ONE endeavor can establish lasting trust & mutual success. We believe in education - ONE training course can empower a developer for life. We believe in giving back - ONE open-source project can inspire future entrepreneur. ONE person can become the leader that starts a revolution. ONE company can change the world and make it a better place - join us.

3 Responses to “New Tutorial – Working with BlackBerry Layout Managers”

  1. Kranthi.Ch Says:

    hai developerlife…..
    iam really very happy to found this website.
    This site has made me to done all the basic applications in an hour..
    Thanking you developerslife

  2. Trupti Says:

    Thanks for such a nice tutorial. I have a question related your tutorial and in general for LAyouts.

    You have shown how the components are placed in Flow & Grid layouts. That all is fine. But I am interested in giving some space, gap between the components. For eg, in Grid layout demo, I want some spacing between all images, same in flow also. How to give spacing between components in a layout. Basically provide spacing before/after a component.

    Was alos wondering, how to manage layouts for different models with different screen sizes.

    I would be glad if you can help me solve this query. I look ahead to hear from you at the earliest.

    Thanks

  3. Nazmul Says:

    Hi Trupti

    You are most welcome.

    This tutorial shows you what you need – http://developerlife.com/tutorials/?p=879

    To get the spacing, etc. you should add an empty border around your fields.

    Nazmul

Leave a Reply