Problem with Android dialogFragment setStyle()?

Try calling in onCreate(...) instead and not in the constructor.

Hoochwo Take a look at FragmentDialog(Support). Java in API demos which does what you want. – PJL Jun 22 at 10:31.

I'm trying to show an almost fullscreen DialogFragment. But I'm somehow not able to do so. I know naively tried to set the RelativeLayout in the fragment to fill_parent and some minWidth and minHeight.

I would know expect the DialogFragment to fill the majority of the screen. But I only seems to resize vertically but only until some fixed width horizontally. I also tried to set the Window Attributes in code, as suggested here: http://groups.google.com/group/android-developers/browse_thread/thread/f0bb813f643604ec.

But this didn't help either. I am probably misunderstanding something about how Android handles Dialogs, as I am brand new to it. How can I do something like this?

Are there any alternative ways to reach my goal?

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions