CoordinatorLayout + ViewPager2 导致子view布局被ActionBar遮挡
父view和子view的fitsSystemWindows设置成一样的值比如true
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true">
</androidx.constraintlayout.widget.ConstraintLayout>