PreviewRootLayout

Custom view group used as the root view of the Camera Preview screen in portrait mode. This view contains three children : the flash bar at the top, the preview at the center and the toolbar at the bottom. The preview generally fits the screen width and depending on its aspect ratio, this view group will either position it between the toolbars or below them.

Constructors

Link copied to clipboard
constructor(context: Context, attrs: AttributeSet)