CameraView
A view used for camera, lays out the required subviews and exposes components for CameraAdapter and ScanFlow.
Has the following styleable parameters to configure in xml R.styleable.CameraView_viewFinderType - a enum to decide the type of ViewFinderType, which dictates the aspect ratio of viewFinderWindowView. R.styleable.CameraView_borderDrawable - an optional reference for viewFinderBorderView's drawable resource.
Constructors
Functions
Properties
a FrameLayout to display the preview frame of camera feed, has the same size of the CameraView.
an optional ViewFinderBackground to draw background and reveals a center viewFinder on previewFrame, has the same size of the CameraView.
an optional ImageView to draw the border of viewFinderWindowView, exposed for applying animations.
Extensions
Get a rect from a view.
Determine the size of a View.