BlinkID / blinkid-ui-android

Customizable UI library that includes camera management, scanning screen, and document selection module.
35 stars 10 forks source link

Change overlay color #59

Closed samirpramanik closed 5 years ago

samirpramanik commented 5 years ago

Hi,

Can we change the overlay used in DocumentOverlayController to some desired color. As of now, it is a semi-transparent screen. How do we customize it? Also, can we disable the scan frame rotation when we rotate the device from portrait to landscape? I tried uiSettings = new DocumentUISettings(intent); uiSettings.setRegionOfInterestRotatable(false); but uiSettings.getRegionOfInterestRotatable(); already return false.

samirpramanik commented 5 years ago

Hi,

I figured out the forced orientation using uiSettings.setForcedOrientation(OverlayOrientation.PORTRAIT); Please help with the overlay color.

matvidako commented 5 years ago

Hi,

You can override the overlay by creating your own drawable named mb_gradient_overlay.