---
title: "Disable all UI interaction"
canonical_url: "https://www.nutrient.io/guides/android/features/controlling-pdf-editing/"
md_url: "https://www.nutrient.io/guides/android/features/controlling-pdf-editing.md"
last_updated: "2026-05-15T19:10:04.920Z"
description: "Solutions for common issues and errors in Nutrient Android SDK with debugging tips and workarounds."
---

There are several ways to modify PDF documents — for instance, by adding annotations or filling forms. The PDF format has standard restrictions (refer to the [secured documents](https://www.nutrient.io/guides/android/security/secured-documents.md) guide), but in addition to those built-in restrictions, Nutrient gives you control over how to restrict certain modifications of PDF documents.

## User interface (UI)

### Disabling all UI interaction

If you want to disable all UI interactions, including scrolling, the thumbnail bar, and all toolbar items, you can call [`PdfActivity#setUserInterfaceEnabled(false)`](https://www.nutrient.io/api/android/nutrient/com.pspdfkit.ui/-pdf-ui/set-user-interface-enabled.html).

### Disabling scrolling

If you want to disable scrolling and zooming while keeping everything else (including the thumbnail bar and all toolbar items) enabled, you can call [`PdfActivity#setDocumentInteractionEnabled(false)`](https://www.nutrient.io/api/android/nutrient/com.pspdfkit.ui/-pdf-ui/set-document-interaction-enabled.html). Keep in mind that the user will still be able to change the current page using the thumbnail bar.