googlesamples / easypermissions

Simplify Android M system permissions
https://firebaseopensource.com/projects/googlesamples/easypermissions/
Apache License 2.0
9.87k stars 1.45k forks source link

Allow customization of rationale dialog theme #174

Closed rramprasad closed 6 years ago

rramprasad commented 6 years ago

Rationale message dialog shows text and buttons as white color.Actually my app needs colorAccent should be white.So not able to set custom theme for rationale dialog.How to fix this issue.

lingdianguole commented 6 years ago

me too,How to fix this issue for you

jrm0695 commented 6 years ago

how to even disable the rationale message ? i need to make my own behavior when the user deny a permission without having to deal with this dialog

rramprasad commented 6 years ago

For workaround,I have changed my colorAccent for the particular Activity by setting separate theme.But we need to make the rationale message as optional and theme customization

samtstern commented 6 years ago

As @rramprasad this color comes from colorAccent.

samtstern commented 6 years ago

This has been fixed by @SUPERCILEX and is available in version 1.1.0 through the new PermissionRequest API. See the README for details.