Android ViewPager with bottom dots
问题 I want to add 3 bottom dots to my ViewPager, like this. I use FragmentActivity and support library ViewPager. 回答1: No need for that much code. You can do all this stuff without coding so much by using only viewpager with tablayout . Your main Layout: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content"> <android.support.v4.view.ViewPager android:id