How to show QR code scan progress with the moving line indicator?
<p>I want to show a line moving through the screen while the camera is open in my android application. Similar to the line which is moving in a bar code scanner application. Like the white line which is shown in the image. The line can move from top to bottom and bottom to top continuously.</p>

<p><a href="https://i.stack.imgur.com/2sKNm.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2sKNm.jpg" alt="enter image description here"></a></p>