0

I want to create scanner screen (Image is given below).

Scanner Screen

For this screen, I aim to display a full-screen camera view where only the central 240x240 area is visible for scanning QR codes. Additionally, the remaining area should be displayed with 50% transparency to provide some visibility while keeping the focus on the central area.

Can anybody help me to create this kind of screen in android without using third party dependencies?

I have tried using CameraSource(com.google.android.gms.vision.Detector) and SurfaceView in layout.

In CameraView I can not find a method so that i can allow the scanning the particular area.

Peter234
  • 1,052
  • 7
  • 24
Spidy
  • 1
  • 2

0 Answers0