The full class name is android.support.v4.widget.NestedScrollView.
Replace the <NestedScrollView> element with <android.support.v4.widget.NestedScrollView> and it should work fine. Make sure you have the v4 support library in your build.gradle file, too.
Change it to
Replace the <NestedScrollView> element with <android.support.v4.widget.NestedScrollView> and it should work fine. Make sure you have the v4 support library in your build.gradle file, too.
Change it to
<androidx.core.widget.NestedScrollView android:layout_width="match_parent" android:layout_height="wrap_content">