to top
HorizontalPaging / res / layout /

sample_main.xml

2
<android.support.v4.view.ViewPager xmlns:android="http://schemas.android.com/apk/res/android"
3
    xmlns:tools="http://schemas.android.com/tools"
4
    android:id="@+id/pager"
5
    android:layout_width="match_parent"
6
    android:layout_height="match_parent"
7
    tools:context=".MainActivity" />