> For the complete documentation index, see [llms.txt](https://docs.apryse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apryse.com/android/viewer.md).

# Viewer

- [PDF Viewer Library for Android](https://docs.apryse.com/android/viewer/viewer.md): Learn about the viewer hierarchy, configuring the document viewer, customizing PDFViewCtrl, changing view modes, scroll directions, color modes, events/triggers, streaming PDFs, and more for an enhanc
- [Integrate the new Viewer UI](https://docs.apryse.com/android/viewer/viewer/new-ui-integration.md): Learn how to integrate a document viewer with a new UI into your app and migrate from the old viewer. Explore Android Samples on GitHub for integration samples. Customize annotation toolbar buttons ea
- [Document viewer hierarchy in Android](https://docs.apryse.com/android/viewer/viewer-overview.md): Discover the best way to integrate a document viewer with DocumentActivity, PdfViewCtrlTabHostFragment2, PdfViewCtrlTabFragment2, and PDFViewCtrl. Choose the right form for your customization needs an
- [New Document Viewer UI](https://docs.apryse.com/android/viewer/new-document-viewer-ui.md): Discover the latest features in Apryse's Android SDK with PdfViewCtrlTabHostFragment2. Enhanced annotation toolbar, multi-tab navigation, stamp and signature flows, and more. Upgrade now for a better
- [Customize the Document Viewer UI](https://docs.apryse.com/android/viewer/new-ui-customization.md): Customize the theme of PdfViewCtrlTabHostFragment2 with ViewerBuilder2. Learn how to set custom attributes for styling UI components like toolbar, bottom bar, and more. Optimize your PDF viewing exper
- [Migrate to the New Viewer UI](https://docs.apryse.com/android/viewer/new-ui-migration.md): Learn how to easily migrate to the new UI for your document viewer in your app with just a few simple steps. Update to version 7.1.5 of Apryse libraries, switch to ViewerBuilder2, and make necessary r
- [Customize the document viewer in Android](https://docs.apryse.com/android/viewer/fragment-config.md): Customize and configure DocumentActivity and PdfViewCtrlTabHostFragment2 easily with our document viewer configuration classes. Hide UI components and disable functionality for a tailored experience.
- [Customizing Android PDF viewer with PDFViewCtrl](https://docs.apryse.com/android/viewer/customize-pdfviewctrl.md): Discover how to customize your PDF viewing experience with the PDFViewCtrl API. Control page colors, layout modes, scrolling direction, and more. Optimize your PDF presentation now! The Apryse Android
- [View mode](https://docs.apryse.com/android/viewer/view-mode.md): Discover how to optimize your PDF viewing experience with different layout and fit options. Learn about page presentation modes and view settings for a seamless reading experience. The Apryse Android
- [Change Vertical and Horizontal Scroll Direction in Android PDF Viewer](https://docs.apryse.com/android/viewer/direction.md): Scroll through PDF documents with ease using PDFViewCtrl by changing scrolling direction. Enable vertical scrolling for continuous reading or horizontal scrolling for a page-by-page view. See how it w
- [Color modes](https://docs.apryse.com/android/viewer/themes.md): Learn how to switch between Day and Night themes in Android AppCompat using the DayNight theme. Adjust color modes for improved reading at night with PDFViewCtrl's special color modes. The Apryse Andr
- [PDF Viewer Events](https://docs.apryse.com/android/viewer/events.md): Learn how to add event listeners to PdfViewCtrlTabHostFragment2 and PdfViewCtrlTabFragment2 in your document viewer. Discover useful events like onTabDocumentLoaded and onTabHostShown. Find out more a
- [Open & stream PDF from URL in Android](https://docs.apryse.com/android/viewer/view-online-pdfs.md): Efficiently open & stream PDFs from URL in Android with Apryse Technology that allows partial content online PDF viewing.
- [Supporting right-to-left (RTL) language documents in Android](https://docs.apryse.com/android/viewer/rtl-support.md): Enhance your document viewer with Apryse SDK's RTL language support. Enable right-to-left mode easily with ViewerConfig for a seamless reading experience. Learn more about enabling RTL in your PDF vie
- [Understanding PDF coordinates](https://docs.apryse.com/android/viewer/coordinates.md): Understand PDFViewCtrl location coordinates in Android. Learn about PDF page, screen, and scrolling coordinates. See how annotations change with zoom. Click for detailed insights! The Apryse Android S
- [Localization: updating languages in viewer UI](https://docs.apryse.com/android/viewer/localization.md): Discover how to add multiple language translations to your Android app with Apryse. Explore supported languages and learn how to customize string resources effectively. Find all resources in the Aprys
- [PDF viewer samples for Android](https://docs.apryse.com/android/viewer/samples.md): Discover the features of the SDK with the sample app showcase. Explore viewer demos including Zoom and Multi-Tabbed Viewer. Click to experience it now! The Apryse Android SDK streamlines secure docume
- [APIs for Android PDF Viewer](https://docs.apryse.com/android/viewer/apis.md): Discover utility classes for document viewing and editing with DocumentActivity, PdfViewCtrlTabHostFragment2, PdfViewCtrlTabFragment2, and PDFViewCtrl. Enhance your PDF experience now! The Apryse Andr


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.apryse.com/android/viewer.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
