Skip to main content

Customizing the RTU UI's top bar

Overview​

You can choose whether to display the app's top bar with a solid color, a color gradient, or hide it completely.

The Kotlin Multiplatform Barcode Scanner RTU UI's top bar component with a solid color

Deprecated modes

TopBarMode.GRADIENT and TopBarMode.HIDDEN are deprecated. Both modes are only supported in portrait orientation. Use TopBarMode.SOLID with a fully opaque background color instead.

Example configuration of the top bar​

Want to scan longer than one minute?

Generate a free trial license to test the Scanbot SDK thoroughly.

Get free trial license