Building Mobile Enterprise Applications : webMethods Mobile Development Help : Building the User Interface for a Mobile Application : Configuring a SideView
Configuring a SideView
A SideView is a common pattern that displays the main navigation options for your application. It is hidden most of the time, unless the user opens it using the dedicated OpenSideView action or a programmatically implemented solution. On Android, it's possible to open the SideView using a left to right swipe gesture.
Mobile Development supports one SideView per window.
To configure the SideView
1. Ensure the Mobile Project is open in the Outline Editor. For instructions, see Displaying a Mobile Project in the Outline Editor.
2. Follow these steps, if you have not added a SideView to your application.
a. In the Model section, locate the Views container node.
b. Add a new SideView to your application. Right-click the Views node and select New Child > SideView or use the palette item SideView.
3. In the Model section of the Outline Editor, expand the project so that you view the MainWindow container node.
4. Select the SideView you like to configure with the left SideView property of your MainWindow.
5. Mobile Development will automatically configure the application's MainWindow to be ready to open the SideView if the current state of the application has at least one open View, containing the OpenSideView action. Please refer to the webMethods Mobile Designer Native User Interface Reference more information how to programmatically open and close a SideView.
6. Don't forget to re-generate the Java source files. For instructions see Java Sources that Mobile Development Generates.
Tip:  
Use TableButtons in your SideView to enable a transition from the SideView to another View. In the application model, add a TableButton to your SideView and configure the Transition action. For instructions, see Responding to user-initiated events. Before your Transition is executed, it is required to close the SideView. Therefore, please add the CloseSideView action as first child to your listener.
Copyright © 2007-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback