-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fullscreen camera preview #53
Comments
You can make the preview TextureView fullscreen as long as you can find a supported preview size of the camera which has matching width-height ratio, otherwise the preview will be distorted. |
can u provide sample code for that? |
You don't need PREFERRED_PREVIEW_WIDTH and PREFERRED_PREVIEW_HEIGHT variables add below code in onCreate() and use mPreviewWidth and mPreviewHeight where above variables needed.
And also chnage TextureView
|
I want make preview based on device width and height.look like its not working can anyone help me to do that
The text was updated successfully, but these errors were encountered: