Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Page Properties
hiddentrue

Status

Status
colourYellow
titlefor review

Approver

Alpar Szotyori (Unlicensed)

On this page, you can find out how to customize your camera screen.

Table of Contents
minLevel2
maxLevel4

UI customization

Figma for confluence lite
nodeUrlhttps://www.figma.com/file/cgyH8gHdMyrlHvW5Sw4fCv?embed_host=share&kind=&node-id=92%3A3712&t=HyGkeGrBo3bKnWHI-1&viewer=1

Bottom navigation bar

You can inject your own view for the bottom navigation bar if you set GiniBank.setCaptureConfiguration(CaptureConfiguration(bottomNavigationBarEnabled = )) to true and pass a custom CameraNavigationBarBottomAdapter implementation to GiniBank:

Code Block
languagekotlin
let customCameraNavigationBarBottomAdapter:CameraNavigationBarBottomAdapter = CustomCameraNavigationBarBottomAdapter();

GiniBank.setCaptureConfiguration(
    CaptureConfiguration(
        cameraNavigationBarBottomAdapter = customCameraNavigationBarBottomAdapter
    )
)

Custom loading indicator

There is a default loading indicator that shows that the image is being processed. You can show your own activity indicator by implementing the CustomLoadingIndicatorAdapter interface and passing it to GiniBank:

Code Block
languagekotlin
let myCustomLoadingIndicatorAdapter:CustomLoadingIndicatorAdapter = MyCustomLoadingIndicatorAdapter();

GiniBank.setCaptureConfiguration(
    CaptureConfiguration(
        customLoadingIndicatorAdapter = myCustomLoadingIndicatorAdapter
    )
)