*Permissions dialog
Overview
Permissions Dialog is DialogFragment (non-fullscreen popup window) with buttons for request permissions and show granted status for them.
To start dialog from your activity or fragment use the code below:
Where dismissIfAllGranted flag you set to true and dialog will be dismissed (closed) automatically when all permissions are granted. If flag is false dialog will not be disappeared when all permissions granted, user can do it by himself.
Customizing
Colors
values\colors.xml
Dimens
values\dimens.xml values-xhdpi\dimens.xml values-xxhdpi\dimens.xml
Drawables
values/drawable-xxxhdpi
Granted permission image:

Location permission image:

Physical activity permission image:

Background optimization permission screen:

Last updated
Was this helpful?