I have been trying to create an Android camera activity to test how it works on the emulator, but I am not sure if I am doing things right.
I have added the permission to the manifest for the deprecated camera version, focus and front camera. And I have been looking up tutorials and learning the code.
I have also tried to include a frame layout preview with some custom buttons, but I really don't know how to make the buttons layout overlay the frame.
Do I need to use fragments?
Also I should mention I have read about the new "camera2" and my interest to implement it to the same activity, but maybe that would be just too much for a simple test. What are your recommendations on this?