Starting with this sample: https://github.com/xamarin/monodroid-samples/blob/master/ApiDemo/Graphics/CameraPreview.cs
How would I add a view finder (just a rectangle) and a button to the preview?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could use a
FrameLayoutlike this:Wrapping everything in the
FrameLayoutis one way to simply stack views on top of theSurfaceView. Use a similar approach to add your viewfinder.