Sample App for creating Swipeable tabs like WhatsApp in Android.
Follow the instruction :
- First, create an application and add the design and app compact dependencies into your application.
- Then create the layout with TabLayout and ViewPager.
- Now you need to add the tabs into the TabLayout.
- For customizing the tab item you need to create the circle background for the unread count textview.
- Create necessary fragments for each tab of the viewpager.
- Finally, you need to setup the viewpager with the corresponding fragments.
In this Sample app explains how to create a swipeable tabs using ViewPager and TabLayout.
For more information, check out my detailed guide here : http://droidmentor.com/how-to-create-swipeable-tabs-like-whatsapp/