In Previous ViewPager tutorial I created the tab indicator with ViewPager. Today I am going to show you how to crate the ViewPager Circle style. 

Step 1 :  Define ViewPager in layout (main.xml)

Step 2 :  Define Rounded Shape (rounded_cell.xml)

Step 3 :  Define Footer (footer.xml)

Step 4 :  Create Layout one (layout_one.xml)

Step 5 :  Create Layout Two (layout_two.xml)

Step 6 :  Create Layout One Java File (LayoutOne.java)

Step 7 :  Create Layout Two Java File (LayoutTwo.java)

Step 8 :  Create View Pager Adapter (ViewPagerAdapter.java)

Step 9 :  Create View Pager Activity (ViewPagerStyle2Activity.java)

 

download source code