Skip to content

A simple demo of Android Vision (https://github.com/googlesamples/android-vision) scan barcode with camera preview fit view size without stretch issue

Notifications You must be signed in to change notification settings

VAdaihiep/FitCropAndroidVision

Repository files navigation

FitCropAndroidVision

A simple demo of Android Vision (https://github.com/googlesamples/android-vision) scan barcode with camera preview fit view size without stretch issue

Screenshot

screenshot

Layout Example

```xml
<vn.vadaihiep.fitcropandroidvision.camera.CameraSourcePreview
    android:id="@+id/preview"
    android:layout_width="match_parent"
    android:layout_height="0dp"
    android:layout_weight="1" />

<TextView
    android:id="@+id/txtResult"
    android:layout_width="match_parent"
    android:layout_height="0dp"
    android:layout_weight="1"
    android:gravity="center"
    android:text="Result here"
    android:textSize="16sp" />
```

About

A simple demo of Android Vision (https://github.com/googlesamples/android-vision) scan barcode with camera preview fit view size without stretch issue

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages