RedApparat / Fotoapparat

Making Camera for Android more friendly. 📸
Apache License 2.0
3.81k stars 405 forks source link

How get the size of the black area. #401

Open zackdu35 opened 4 years ago

zackdu35 commented 4 years ago

Hello, and thank you very much for this great library !

I'm using the ScaleType = ScaleType.CenterInside, so there may be black bands appearing around the preview. This is my case.

I'd like to know if it's possible to know the size of those black area ? Any solutions ?