-5

enter image description here

I would like the dialog asking for permissions to be full-screen, is it possible ?

Lucifer
  • 28,605
  • 21
  • 86
  • 137
Tomas
  • 1,117
  • 3
  • 13
  • 29
  • @PiyushGupta I'm not an android programmer, I just want to know what's possible to know the limits and what can I ask from developers. – Tomas Mar 04 '14 at 07:08

4 Answers4

1

try

Dialog dialog=new Dialog(this,android.R.style.Theme_Dark_NoTitleBar_FullScreen)

this will set dialog to show with full screen.

Dhwanik Gandhi
  • 675
  • 6
  • 12
0

(if I understand your question properly...)

I do not think that we have control over how the Android Manifest Permissions are shown to the user.

As far as I am aware, this is done by the Google Play Store app, and is based only on the permissions declared in the manifest.

Richard Le Mesurier
  • 27,993
  • 19
  • 127
  • 242
0

You can create custom dialog boxes. There are answers already available on stackoverflow.

Check this - How to create a Custom Dialog box in android?

Community
  • 1
  • 1
Passiondroid
  • 1,505
  • 1
  • 16
  • 27
  • Does it work for system permissions (for example VPN permission in the screenshot) ? – Tomas Mar 03 '14 at 11:31
  • All dialogs that appear in the app can be customized by a theme which can be set in the android manifest. But only theme can be changed. You cant change the contents of the dialog. – Passiondroid Mar 03 '14 at 11:37
0

create an activity and set its theme as dialog

vs.thaakur
  • 539
  • 2
  • 12