I am using an Overlay
on the camera views in my app. Problem is, I want to use the standard Camera Button - the long oval button that you tap to take a picture.
Is there a way to add the oval camera button to my overlay?
I am using an Overlay
on the camera views in my app. Problem is, I want to use the standard Camera Button - the long oval button that you tap to take a picture.
Is there a way to add the oval camera button to my overlay?
Reduce the overlay view size so that it doesn't hide the camera button toolbar.
I could not find a good way to accomplish this so I created an overlay with a large button with a camera icon on it, but it does not look like the standard camera button.
Just set userInteractionEnabled to false for your overlayview. Then all interaction with the camera will behave like it did before.
//edit: also make the overlayview transparent. on top of that view add the view, you want to show up as overlayview, but size it as small as needed to not hide the default camera button. if you want to change you're overlay in the photo-preview-view, see my answer here: camera overlay view - just for preview?