Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

full screen dialog #33

Open
Slake07 opened this issue Dec 16, 2014 · 5 comments
Open

full screen dialog #33

Slake07 opened this issue Dec 16, 2014 · 5 comments

Comments

@Slake07
Copy link

Slake07 commented Dec 16, 2014

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

@fengdai
Copy link
Owner

fengdai commented Dec 16, 2014

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

@Slake07
Copy link
Author

Slake07 commented Dec 16, 2014

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

@fengdai
Copy link
Owner

fengdai commented Dec 16, 2014

With no padding around it?

@Slake07
Copy link
Author

Slake07 commented Dec 16, 2014

yeah with padding..

@fengdai
Copy link
Owner

fengdai commented Dec 16, 2014

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants