I have a dialog that contains a TabLayout with ViewPager and 4 fragments as tabs. This is based on the Android Studio example with the ViewPager and the 3 tabs. The tabs con