Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
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" />