<?xml version="1.0" encoding="utf-8"?>
<com.bluelinelabs.conductor.demo.widget.ElasticDragDismissFrameLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/lime_300"
        android:orientation="vertical">

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_horizontal"
            android:textSize="22sp"
            android:padding="16dp"
            android:text="@string/drag_to_dismiss"
            android:clickable="true"
            />

        <androidx.core.widget.NestedScrollView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:clipToPadding="false"
            android:fillViewport="true"
            android:overScrollFooter="@android:color/transparent"
            android:overScrollMode="never" >

            <TextView
                android:id="@+id/tv_lorem_ipsum"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:background="@color/white"
                android:padding="16dp"
                android:text="@string/lorem_ipsum"
                />

        </androidx.core.widget.NestedScrollView>
    </LinearLayout>

</com.bluelinelabs.conductor.demo.widget.ElasticDragDismissFrameLayout>
