boz
boz

Reputation: 4908

blackberry 5.0 api manager/ui layout

I'm trying to come up with a structure for my simple blackberry app. I want to have a static header and 3 containers that will slide into view once the user makes a selection in the previous one. Here is a diagram of it:

app layout

The red box is the visible screen. The header will be a manager as will each of the content containers. The 3 containers may be inside a manager themselves if it makes it easier to move them around.

My problem is the Manager class does not have any methods to do with its own position. I'm a bit stuck as to how I can create this layout. Can anyone point me in the right direction?

Thanks in advance!

Upvotes: 0

Views: 365

Answers (1)

Maksym Gontar
Maksym Gontar

Reputation: 22775

Manager is a base class with very little functionality.

You can start with VerticalFieldManager implementation adding two HorisontalFieldManagers (or vertical).

Also you can start with MainScreen (there you already have Title and Banner sections).

See also: Working with BlackBerry Layout Managers – Tutorial

Upvotes: 1

Related Questions