Top Bar Configuration
data class TopBarConfiguration(var title: StyledText = StyledText( visible = false, text = "Scan Item", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), var mode: TopBarMode = TopBarMode.SOLID, var statusBarMode: StatusBarMode = StatusBarMode.LIGHT, var backgroundColor: ScanbotColor = ScanbotColor("?sbColorPrimary", isArgb = false), var cancelButton: ButtonConfiguration = ButtonConfiguration( text = "Cancel", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), foreground = ForegroundStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) )) : Parcelable
Configuration of the top bar's appearance.
Constructors
Link copied to clipboard
constructor(title: StyledText = StyledText( visible = false, text = "Scan Item", color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ), mode: TopBarMode = TopBarMode.SOLID, statusBarMode: StatusBarMode = StatusBarMode.LIGHT, backgroundColor: ScanbotColor = ScanbotColor("?sbColorPrimary", isArgb = false), cancelButton: ButtonConfiguration = ButtonConfiguration( text = "Cancel", background = BackgroundStyle( strokeColor = ScanbotColor("#00000000", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), foreground = ForegroundStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ))
Properties
Link copied to clipboard
The background color of the top bar to be used when the visual mode is specified as SOLID. Otherwise ignored.
Link copied to clipboard
Configuration of the 'cancel' button's appearance.
Link copied to clipboard
The visual mode used for the top bar.
Link copied to clipboard
The visual mode used for the status bar icons.
Link copied to clipboard
Appearance of the top bar's title.