On this page, you can find out how to customize your camera screen.
UI customization
Bottom navigation bar
Will be available in 3.0.0-beta05.
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
:
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
:
let myCustomLoadingIndicatorAdapter:CustomLoadingIndicatorAdapter = MyCustomLoadingIndicatorAdapter(); GiniBank.setCaptureConfiguration( CaptureConfiguration( customLoadingIndicatorAdapter = myCustomLoadingIndicatorAdapter ) )