Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Ability to set a zoom factor from xml or programmatically #104

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Ability to set a zoom factor from xml or programmatically #104

wants to merge 9 commits into from

Conversation

chrbien
Copy link

@chrbien chrbien commented Feb 10, 2017

We needed the functionality to set a specific zoom factor for the cameraview. The code can also be used to implement a pinch zoom.
Furthermore camera shows the picture that was taken before user can resume the preview.
We hope that our changes can be integrated in the master branch. If you have any issues with the code, we can adjust it accordingly.

@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
  • If you signed the CLA as a corporation, please let us know the company's name.

@chrbien
Copy link
Author

chrbien commented Feb 14, 2017

I signed it

@googlebot
Copy link

CLAs look good, thanks!

# Conflicts:
#	library/src/main/api14/com/google/android/cameraview/Camera1.java
@yaraki yaraki mentioned this pull request Mar 24, 2017
# Conflicts:
#	demo/src/main/res/layout/include_camera.xml
@vise950
Copy link

vise950 commented May 17, 2017

Any updates?

# Conflicts:
#	demo/src/main/res/layout/include_camera.xml
#	library/src/main/api14/com/google/android/cameraview/Camera1.java
ewolfox pushed a commit to ewolfox/cameraview that referenced this pull request Apr 13, 2018
* Added a maximum file size for videos

* Revereted changes to the onVideoTaken callback signature

* Renamed isRecordingVideo, added xml attribute for video max size and updated the documentation
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants