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
),
)
PreviousCustomizing Android SDKNextAndroid Localization: Adding a Custom or Updating an Existing Language Pack
Last updated
Was this helpful?