You can also create custom scroll handles, just implement ScrollHandle interface.Īll methods are documented as Javadoc comments on interface source. scrollHandle(new DefaultScrollHandle(this)).ĭefaultScrollHandle is placed on the right (when scrolling vertically) or on the bottom (when scrolling horizontally).īy using constructor with second argument ( new DefaultScrollHandle(this, true)), handle can be placed left or top. There is default implementation shipped with AndroidPdfViewer, and you can use it with This method accepts implementations of ScrollHandle interface. To use scroll handle just register it using method Configurator#scrollHandle(). Scroll handle is replacement for ScrollBar from 1.x branch.įrom version 2.1.0 putting PDFView in RelativeLayout to use ScrollHandle is not required, you can use any layout.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |