Camera Screen
UI customization
Bottom navigation bar
You can inject your own view for the bottom navigation bar if you set GiniCapture.newInstance().setBottomNavigationBarEnabled()
to true
and pass a custom CameraNavigationBarBottomAdapter
implementation to GiniCapture.Builder
:
CameraNavigationBarBottomAdapter customCameraNavigationBarBottomAdapter = new CustomCameraNavigationBarBottomAdapter();
GiniCapture.newInstance()
.setCameraNavigationBarBottomAdapter(customCameraNavigationBarBottomAdapter)
.build();
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 GiniCapture
:
CustomLoadingIndicatorAdapter customLoadingIndicatorAdapter = new MyCustomLoadingIndicatorAdapter();
GiniCapture.newInstance()
.setLoadingIndicatorAdapter(customLoadingIndicatorAdapter)
.build();
Â