Mobile Development 10.11 | webMethods Mobile SuiteWeb Help | webMethods Mobile Development Help | Building the User Interface for a Mobile Application | Using Constraint Layout | Creating a Constraint Layout Template When Creating a View
 
Creating a Constraint Layout Template When Creating a View
You can also create a new constraint layout template when creating a view.
*To create a constraint layout template when creating a view
1. Ensure the mobile project is open in the Outline Editor. For instructions, see Displaying a Mobile Project in the Outline Editor.
2. In the Model section of the Outline Editor, expand the outline so that you view the Views node.
3. Make sure that the palette is shown. If the palette is currently hidden, click the arrow () that is shown at the top right of the Outline Editor to display it.
4. Drag the View object from the palette and drop it on the Views node in the Model section of the Outline Editor.
The Create a new View dialog opens.
5. In the Name field, enter a name for the view.
6. Select the Create a Constraint Layout Fragment check box.
7. In the Fragment Name field, enter a name for the constraint layout template and select one of the layout fragments.
8. Click OK.
The constraint layout template is created and stored in your_project/model/layouts/constraint_layout_name.layout.