Arrange UI components

  1. Import the required classes and interfaces.
  2. Create an instance of a HorizontalFieldManager.
    HorizontalFieldManager _fieldManagerBottom = new HorizontalFieldManager();
  3. Invoke add() to add the HorizontalFieldManager to a screen.
  4. Create an instance of a ButtonField.
    ButtonField mySubmitButton = new ButtonField("Submit");
  5. Add the ButtonField to the HorizontalFieldManager.
Previous topic: Arranging UI components

Was this information helpful? Send us your comments.