UI customization
Figma for confluence lite |
---|
nodeUrl | https://www.figma.com/file/EGcvSspecqVSU51rQ2FWZk/Android-Gini-Bank-SDK-3.6.0-UI-Customisation?type=design&node-id=92-3712&mode=design&t=3H6FA1gUfotmxzQp-0 |
---|
height | 1000px |
---|
|
Camera access screen
Figma for confluence lite |
---|
nodeUrl | https://www.figma.com/file/EGcvSspecqVSU51rQ2FWZk/Android-Gini-Bank-SDK-3.6.0-UI-Customisation?type=design&node-id=9302-4409&mode=design&t=3H6FA1gUfotmxzQp-0 |
---|
|
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
)
) |