Skip to content Skip to sidebar Skip to footer

Framelayout Is Shrinking Imageview , But Camera Is Opening Properly Inside Framelayout

I am opening the android Camera inside a FrameLayout in landscape mode, then the screen looks like- But the same Image when I open inside ImageView in FrameLayout, then it looks

Solution 1:

You set wrong height and width of a camera preview size, also need use setDisplayOrientation, please show code where you set height and width, and set display orientation degrees.

Also you may see properly initialization camera here

Post a Comment for "Framelayout Is Shrinking Imageview , But Camera Is Opening Properly Inside Framelayout"