1.依赖jar包
compile 'com.github.barteksc:android-pdf-viewer:1.4.0'
2.xml布局
<com.github.barteksc.pdfviewer.PDFView android:id="@+id/pdfView" android:layout_width="match_parent" android:layout_height="match_parent"/> <!--scrollBar可以配合PDFView下啦,可以不用--> <com.github.barteksc.pdfviewer.ScrollBar android:id="@+id/scrollBar" android:layout_width="1dp" android:background="#00000000" android:layout_height="match_parent" android:layout_alignParentRight="true" android:l