whole activity blinks as soon as it starts.
I am using camera fragment with one of the fragments in viewpager.now the problem is whole activity blinks when activity is started(on call of camera fragment).
i experienced the same behaviour in my apps. I tested it on Samsung Tablets. I hope it's possible to fix it.
fix this blink plz.
This is a known problem with surfaceviews which the camera preview uses. The easiest hack is to create a 0 x 0dp surfaceview in the same layout file as the cameraView.
it would be really great if you could provide some code to do so.
On Wed, 2 Aug 2017 1:38 pm roryologan, [email protected] wrote:
This is a known problem with surfaceviews which the camera preview uses. The easiest hack is to create a 0 x 0dp surfaceview in the same layout file as the cameraView.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/florent37/CameraFragment/issues/34#issuecomment-319600313, or mute the thread https://github.com/notifications/unsubscribe-auth/ARDo5n_b3HxTOy8orKAU2Mjj3LdDLVeQks5sUC59gaJpZM4NLB-T .
@shivam21 dear have you another excellent alternative of this library please suggest me.