<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:clickable="true"
    android:focusable="true"
    android:layout_height="match_parent"
    android:animateLayoutChanges="true"
    android:background="@color/onfido_black_o_50">

    <com.onfido.android.sdk.capture.ui.widget.LoadingView
        android:id="@+id/loadingView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_centerHorizontal="true"
        app:onfidoColor="@color/onfido_white" />

    <com.onfido.android.sdk.capture.ui.camera.liveness.challenges.loading.LivenessChallengesLoadingErrorView
        android:id="@+id/errorView"
        android:layout_width="match_parent"
        android:visibility="gone"
        android:layout_height="match_parent"/>

</RelativeLayout>