Skip to content

jaisonfdo/WhatsAppViewPager

Repository files navigation

WhatsAppViewPager

Sample App for creating Swipeable tabs like WhatsApp in Android.

ScreenShot

Follow the instruction :

  1. First, create an application and add the design and app compact dependencies into your application.
  2. Then create the layout with TabLayout and ViewPager.
  3. Now you need to add the tabs into the TabLayout.
  4. For customizing the tab item you need to create the circle background for the unread count textview.
  5. Create necessary fragments for each tab of the viewpager.
  6. 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/