Barcode Reader - Google Mobile Vision
https://github.com/ravi8x/Barcode-Reader
<fragment
android:id="@+id/barcode_scanner"
android:name="info.androidhive.barcode.BarcodeReader"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:auto_focus="true"
app:use_flash="false"
/>
There is an app:use_flash feature, but only in XML I can't get it accessed in java file, and there is no code about obtaining it in a sample app.
Also, I want to know if loading the QR image from the gallery and scan its features is included in this library.