New property added to NovarumAnalyzerPreview:
AndroidView(
factory = { ctx ->
val p = NovarumAnalyzerPreview(ctx)
p.analyzerConfig = analyserConfiguration
p.previewMode = PreviewMode.Fill // or PreviewMode.Fit
...
}
)
-
Default:
PreviewMode.Fill -
Developer Action:
SetpreviewModeexplicitly if your UI requires Fit scaling.
Existing code without this property continues to function with the same default behavior.