|
|
|
|
|
- Overview
- Description of the different elements in the Action Bar ("General" tab)
- Lhe left button of the Action Bar
- Left button
- Menu options displayed in the Action Bar (system Action Bar only)
- In Android
- In iOS
- In Universal Windows 10 App
- Views/Navigation Bar
- Aspect of the Action Bar ("Details" tab)
- Overview
- Aspect of the Action Bar
- Miscellaneous
- Search in the Action Bar (system only)
Describing the Action Bar control
An Action Bar can be: - A system Action Bar: The Action Bar depends on the system used. It can vary depending on the platform used.
- A custom Action Bar, to get the same behavior across all platforms. In this case, you can:
- Change the height of the Action Bar,
- Insert controls in the Action Bar.
This help page presents the main aspects of the Action Bar description window: Description of the different elements in the Action Bar ("General" tab) The "General" tab is used to define the different elements of the Action Bar according to the platform used. These elements are the same in iOS and Android but they are organized in a different way.
Both interfaces are presented side by side: the iOS interface on the left, the Android interface on the right. If your project is available on a single platform, only the corresponding interface will be enabled. To define the different elements of the Action Bar, all you have to do is click the numbers. Lhe left button of the Action Bar Left button The Action Bar replaces the title bar of the window: - in Android: By default, the Action Bar displays the title of the current window and a button.
- in iOS: By default, the Action Bar displays the title of the current window and a button.
- in Universal Windows 10 App: By default, the Action Bar displays the title of the current window.
The title may not be displayed according to the elements displayed in the Action Bar. The option "1" of the "General" tab found in the description window of the Action Bar control is used to configure the different elements: - Button visible or not,
- Button caption.
- Displayed icon.
- Action performed.
The user can click the left button displayed in the Action Bar of a window. The "Click on left button" event of the Action Bar is associated with this action. The description window of the Action Bar is used to configure the action of the click on the left button. You can select one of the following options: - Code: Run control click process: The "Click on left button" event will be automatically run.
- Back: Run code to go back (i.e: close the window): In this case:
- The application will run the "Click on left button" event.
- The application will run the preset process used to go back to the previous window.
- An arrow will be displayed in the upper-left corner of the icon to symbolize the navigation.
Remarks: - If the window displayed is the only application window, no default action will be run.
Only the "Click on left button" event will be run. - If the current window is closed, its closing code will be run.
- For this type of action, the icon specified for the button is not displayed.
- The "Back" button can become an "OK" button at runtime in the following cases:
- the previous window has no Action Bar control. - the opening animation is not performed from right to left.
- Home: Go back to the first application window: In this case, the application:
- Will run the "Click on left button" event.
- Will run the preset process: all windows still open are closed, except for the main window (which is re-opened if necessary). This preset process will not be run if the "Click on left button" event returns False (used to ask the user for confirmation, for example).
Remarks: - If the main window is already displayed or if the application has no main window, no default action will be run. Only the "Click on left button" event will be run.
- The closing code of closed windows will not be run.
- Left sliding window: Opens the left sliding window: In this case, the application:
- Will run the "Click on left button" event.
- Will run the preset process: the left sliding window defined in the description window will be displayed with the specified effect.
For more details, see Sliding window (sliding menu).
Menu options displayed in the Action Bar (system Action Bar only) Aspect of the Action Bar ("Details" tab) Aspect of the Action Bar The appearance of the Action Bar can be configured via: - the "Edit bar style" option, which allows you to configure the style of the system bar and the Action Bar.
- the height of the Action Bar (custom only). This option allows you to get the same Action Bar height regardless of the system used. This height is expressed in pixels.
The style settings window includes:
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|