Android TabLayout and ViewPager
In this tutorial we'll be implementing a ViewPager under the TabLayout that we'd already implemented in [this](/community/tutorials/android-tablayout-appbarlayout) tutorial. Android TabLayout ViewPager Overview ViewPagers are used to swipe through pages of data. It's generally used in conjunction with fragments. Let's modify our layout from the previous tutorial as below. activity_main.xml <?xml version="1.0" encoding="utf-8"?> <android.support.design.widget.CoordinatorLayout xmlns:android="https://schemas.android.com/apk/res/android" xmlns:app="https://schemas.android.com/apk/res-auto" […]