Reputation: 397
How can I replace the system notice dialog of the system permission(e.g the GPS) with my own dialog ? Many thanks!
Upvotes: 1
Views: 291
Reputation: 2509
You can`t..
This is android documentation for permissions:
When your app calls requestPermissions(), the system shows a standard dialog box to the user. Your app cannot configure or alter that dialog box. If you need to provide any information or explanation to the user, you should do that before you call requestPermissions(), as described in "Explain why the app needs permissions".
More details about it : http://developer.android.com/training/permissions/requesting.html
Upvotes: 6