I have a FragmentActivity using a ViewPager to serve several fragments. Each is a ListFragment with the following layout:
FragmentActivity
ViewPager
ListFragment
Nothing of this worked on API27. I had to add this in the container of the layout, for me it was a ConstraintLayout:
//Your layout