1.布局
<android.support.v4.view.ViewPager android:id="@+id/vp_gps" android:layout_width="match_parent" android:layout_height="match_parent" />
<LinearLayout android:id="@+id/ll_dot" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:gravity="center" android:layout_marginBottom="12dp"