AlertDialogPro icon indicating copy to clipboard operation
AlertDialogPro copied to clipboard

full screen dialog

Open Slake07 opened this issue 10 years ago • 5 comments

how can we open alert dialog in full screen.? i want to show it in custom view.

Slake07 avatar Dec 16 '14 11:12 Slake07

What did you mean by showing full screen dialog in custom view?

fengdai avatar Dec 16 '14 11:12 fengdai

You can see below screen, dialog is open in small size.. i want to show in full screen. means same height and width as device.

device-2014-12-16-171945

Slake07 avatar Dec 16 '14 11:12 Slake07

With no padding around it?

fengdai avatar Dec 16 '14 12:12 fengdai

yeah with padding..

Slake07 avatar Dec 16 '14 12:12 Slake07

AlertDialogPro's layout is designed to wrap its child's height. You need to give your custom view a specific height to make the whole dialog's height the same as the screen's... But I think it's a little difficult to calculate the custom view's height...

fengdai avatar Dec 16 '14 14:12 fengdai