根据一个cnblog网友的文章得到基本的使用:
<1> : 需要使用三张图片,名字分别为:guide_1.jpg,guide_2.jpg,button.png;
<2> : 主程序xml :
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" > <android.support.v4.view.ViewPager android:id="@+id/viewpager" android:layout_width="wrap_content" android:layout_height="wrap_content" android:flipInterval="30" android:persistentDrawingCache="animation" /> </RelativeLayout>