material design tablayout + viewpager material design tablayout を使用すると、すべてが完全に機能しますが、親ビューを ScrollView として配置しようとすると、ユーザーがタブフラグメントコンテンツを表示しようとすると、フラグメントにリストビューが含まれているため、小さな高さが非常に低くなります。 devices.スクロールビューを追加した後、viewpager のフラグメントが表示されません。この状況を克服するにはどうすればよいですか?
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fillViewport="true">
<android.support.design.widget.CoordinatorLayout
android:id="@+id/tabanim_maincontent"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.design.widget.AppBarLayout
android:id="@+id/tabanim_appbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
<android.support.design.widget.TabLayout
android:id="@+id/tabanim_tabs"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</android.support.design.widget.AppBarLayout>
<android.support.v4.view.ViewPager
android:id="@+id/tabanim_viewpager"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
</android.support.design.widget.CoordinatorLayout>
</ScrollView>
CoOrdinatorレイアウトの有無にかかわらず試しましたが、どれも機能しません