Scale Calibration Picker Inspector View
constructor(@NonNull lineAnnotation: LineAnnotation, @NonNull context: Context, @NonNull label: String, @NonNull defaultUnit: Scale.UnitTo, focusValueText: Boolean, @Nullable listener: ScaleCalibrationPickerInspectorView.CalibrationPickerListener)
Construct calibration picker.
Parameters
line Annotation
the lineannotation whose length we calibrate
context
The context to use.
label
text describing the calibration value
default Unit
Default Scale.UnitTo value selected. This should always be the same as the Scale destination ("to") unit.
focus Value Text
if true
the value text widget will be focused and the keyboard be shown automatically after showing the inspector
listener
Listener for calibration picker changes.