On this page, you can find out how to customize your camera screen.
UI customization
Figma for confluence lite |
---|
nodeUrl | https://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 |
---|
|
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 |
---|
|
let myCustomLoadingIndicatorAdapter:CustomLoadingIndicatorAdapter = MyCustomLoadingIndicatorAdapter();
GiniBank.setCaptureConfiguration(
CaptureConfiguration(
customLoadingIndicatorAdapter = myCustomLoadingIndicatorAdapter
)
) |