How to Restore the Previous Design after an Update
If you want to get back to the previous (up to 6.4.2) versions' design, reset the customization settings of the capture screen and apply the parameters that are listed below.
OzLivenessSDK.config.customization =UICustomization(// customization parameters for the toolbar toolbarCustomization =ToolbarCustomization( closeIconTint = Color.ColorHex("#FFFFFF"), backgroundColor = Color.ColorHex("#000000"), backgroundAlpha =100, ),// customization parameters for the center hint centerHintCustomization =CenterHintCustomization( verticalPosition =70 ),// customization parameters for the hint animation new HintAnimation( hideAnimation =true ),// customization parameters for the frame around the user face faceFrameCustomization =FaceFrameCustomization( strokeDefaultColor = Color.ColorHex("#EC574B"), strokeFaceInFrameColor = Color.ColorHex("#00FF00"), strokeWidth =6, ),// customization parameters for the background outside the frame backgroundCustomization =BackgroundCustomization( backgroundAlpha =100 ),)
OzLivenessSDK.INSTANCE.getConfig().setCustomization(newUICustomization(// customization parameters for the toolbarnew ToolbarCustomization(R.drawable.ib_close,new Color.ColorHex("#FFFFFF"),new Color.ColorHex("#000000"),100,// toolbar text opacity (in %) ),// customization parameters for the center hintnew CenterHintCustomization(70,// vertical position (in %)),// customization parameters for the hint animationnew HintAnimation(true,// hide animation),// customization parameters for the frame around the user facenew FaceFrameCustomization( new Color.ColorHex("#EC574B"),new Color.ColorHex("#00FF00"),6,// frame stroke width (in dp) ),// customization parameters for the background outside the framenew BackgroundCustomization(100// background opacity (in %)), ));