How to display preview camera behind a frame and take picture include frame
问题 I'm trying build a camera app in android using camera API. I follow the instructions: https://examples.javacodegeeks.com/android/core/hardware/camera-hardware/android-camera-example/ and I have built one camera app Now i need to display preview camera inside a frame and take picture include the frame Please see the two pictures below: Frame in resource folder : https://i.stack.imgur.com/AaNIQ.png The photo I want to achieve: https://i.stack.imgur.com/UWXcq.jpg Anyone can give me suggestions