Intro
A barcode scanner allows users to quickly locate an object by scanning a barcode via their device’s built-in camera. It can also be used when users need to efficiently manage business objects in a lengthy list report.
Barcode scanner in auto capture mode (left) and manual capture mode (right)
Anatomy
The barcode scanner comes in a full-screen dialog that includes a top app bar, scan window, alignment guide, a zoom control, and an auto/manual capture toggle.
A. Top App Bar
The top app bar is composed of a “Back” icon button, title, flash toggle, and a gallery thumbnail for users who would like to upload an existing photo of a barcode.
B. Scan Window (Auto Capture Mode Only)
In auto capture mode, a scan window appears around the alignment guide to highlight areas that fall outside the boundaries for a successful scan. The scan window’s opacity level is configurable to accommodate user needs.
C. Alignment Guide (Auto Capture Mode Only)
In auto capture mode, the alignment guide indicates the target area for successfully scanning a barcode. Barcodes outside the alignment guide are not detected. The alignment guide can be resized to accommodate a variety of use cases.
D. Top App Bar
The zoom control allows users to zoom in or out by dragging the slider, or by interacting with the icon buttons within the control.
E. Auto/Manual Toggle
The auto/manual toggle enables users to switch between auto and manual capture modes.
Anatomy of the barcode scanner in auto capture mode
Behavior and Interaction
Automatic Capture
Capturing a barcode with automatic scan mode
Manual Capture
Capturing a barcode with manual scan mode
Zoom Control
Zooming in and out with manual capture mode