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"