googlearchive / android-Camera2Video

Migrated:
https://github.com/android/camera
Apache License 2.0
1.21k stars 568 forks source link

Full Screen preview and record. #58

Closed ShagunParikh closed 5 years ago

ShagunParikh commented 7 years ago

I could not find a way to make the preview and recording of the video full screen. The default Camera App of motorola and samsung has a full screen previews.

Hence, these demo should also have the full screen preview without view getting stretched. Please help.

pablogeek commented 7 years ago

@ShagunParikh Any solution?

amlan-routray commented 6 years ago

Using frame layout around the autofittextureview solved the issue in my case. The video preview is not fullscreen but it maintains aspect ratio. And talking of full screen default camera app. You may notice that on changing the resolution you will miss out the full screen.

Chandu1233 commented 6 years ago

Hi @ShagunParikh @pablogeek I am also facing same issue now, could you please let me know if there is any solution found.

@amlan-routray thanks for the valuable comment, the issue is only when dealing with devices with low resolution.

Found a workaround in the below link. https://stackoverflow.com/questions/39044494/get-full-screen-preview-with-android-camera2

codingjeremy commented 5 years ago

This sample has been migrated to a new location where we can accept Pull Requests (check README for more information).

As recommended by GitHub, we are closing all issues and pull requests now that this older repo will be archived.

If you still see this issue in the updated repo, please reopen the issue/PR there. Thank you!