Barcode Pick Status Icon Settings
Note
Barcode Pick is still in beta and may change in future versions of Scandit Data Capture SDK.
Defined in package com.scandit.datacapture.barcode.pick.ui
- BarcodePickStatusIconSettings
class BarcodePickStatusIconSettingsAdded in version 6.25.0
Use this class to customize the status icons in styles that support it.
- BarcodePickStatusIconSettings()
BarcodePickStatusIconSettings()Added in version 6.25.0
Creates a new BarcodePickStatusIconSettings instance with default values.
- ratioToHighlightSize
floatgetRatioToHighlightSize()voidsetRatioToHighlightSize(floatvalue)Added in version 6.25.0
When a status icon is displayed its size will be determined using the size of the related highlight. The length of the shorter side of the highlight will be multiplied by this ratio to compute the size. For example, if the ratio is 0.6 and the shorter side of the highlight is 60dp then the status icon size will be 36dp.
Default is 0.5.
- minSize
intgetMinSize()voidsetMinSize(intvalue)Added in version 6.25.0
The minimum size to use for status icons.
Default is 20 dp.
- maxSize
intgetMaxSize()voidsetMaxSize(intvalue)Added in version 6.25.0
The maximum size to use for status icons.
Default is no maximum, INT_MAX.