Release blog post: https://pspdfkit.com/blog/2016/clean-statusbar-with-systemui-and-quickdemo/
adb(for installing the app and granting the required permissions)
To build and run the app, you can open the project with Android Studio and press
Run. Alternatively you can install the app from the command line.
git clone [email protected]:PSPDFKit-labs/QuickDemo.git cd QuickDemo/ ./gradlew installDebug
If you cloned the project, you can run
setupDemoModegradle task to do the setup.
This can be done either by finding and selecting
Gradlewindow in Android Studio, or by running the following:
android.permission.DUMPpermission, which is required to control the System UI demo mode. You need to do this using
adb shell pm grant com.pspdfkit.labs.quickdemo android.permission.DUMP
adb shell settings put global sysui_demo_allowed 1
The app comes with a quick settings tile which you can use to quickly toggle the demo mode.
You can launch QuickDemo activity to configure all displayed icons of the demo mode.
Since this project is open source, feel free to use it, give feedback, or contribute in any way you find suitable.
This project is maintained and funded by PSPDFKit.