CameraFragment icon indicating copy to clipboard operation
CameraFragment copied to clipboard

whole activity blinks as soon as it starts.

Open shivam21 opened this issue 8 years ago • 5 comments

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).

shivam21 avatar Apr 28 '17 04:04 shivam21

i experienced the same behaviour in my apps. I tested it on Samsung Tablets. I hope it's possible to fix it.

pmSven avatar May 05 '17 10:05 pmSven

fix this blink plz.

chnouman avatar May 11 '17 03:05 chnouman

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.

iPinkiPanda avatar Aug 02 '17 08:08 iPinkiPanda

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 avatar Aug 02 '17 08:08 shivam21

@shivam21 dear have you another excellent alternative of this library please suggest me.

chnouman avatar Aug 02 '17 09:08 chnouman