nUISeparatorElement
com.softwareag.mobile.runtime.nui.nUISeparatorElement
Use to display a horizontal line that separates blocks of content.
Usage Notes
![*](bullet.gif)
Setting the
Height attribute alters the padding above and below the horizontal, separator line. It does not alter the size of the line itself.
Example
This code sample displays a horizontal, separator line. Illustrations of how the example code is rendered on various platforms follows the code sample.
view.add(new nUISeparatorElement(-1))
Platform | Platform-Specific Class and Illustration |
Android | Custom android.view.View |
iOS 7 | UIView customized with a horizontal rule between content blocks |
iOS 6 | UIView customized with a horizontal rule between content blocks |
Windows Phone | System.Windows.Controls.Border |
Other | |