<android.support.v4.widget.NestedScrollView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:custom="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:fillViewport="true">

    <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
                 xmlns:custom="http://schemas.android.com/apk/res-auto"
                 xmlns:tools="http://schemas.android.com/tools"
                 android:id="@+id/segment_scan_root"
                 android:layout_width="match_parent"
                 android:layout_height="match_parent"
                 tools:context="com.microblink.activity.SegmentScanActivity">

        <com.microblink.view.recognition.RecognizerView
            android:id="@+id/rec_view"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            custom:animateRotation="true"
            custom:animationDuration="250"
            custom:initialOrientation="portrait"/>

        <include layout="@layout/overlay_blink_ocr"/>

    </FrameLayout>

</android.support.v4.widget.NestedScrollView>