Use BasePermissionActivity for custom educational UI
masterIf you want to provide a highly customized educational UI (explaining why permissions are needed) before the system dialog appears, extend BasePermissionActivity.
This approach allows you to control:
- Permissions being asked and their specific explanations.
- Screen background colors (automatically generates
DarkPrimaryColor). - Screen images, titles, and messages.
- Text colors, sizes, and
FontTypeper screen. - Button icon resources (Next, Previous, Request).
- Custom
ViewPager.PageTransformerimplementations. - Behavior such as preventing users from skipping the explanation dialog.
Note: On Android versions older than Marshmallow (M), the library acts as a standard intro library and will not attempt to trigger the system permission request dialog.