Re: [android-developers] Re: How do I create a windowed app?

2011-09-07 Thread TreKing
On Wed, Sep 7, 2011 at 10:57 AM, treyb wrote: > How would I get this to work to make the dialog be about 60% of the width > and height? > I'd look at LinearLayout and it's weight attribute. - TreKing

[android-developers] Re: How do I create a windowed app?

2011-09-07 Thread treyb
Ok, I guess the theme.dialog is what I need. I can see that I can control the Size. I want it to be set by percentages, this way it can run on multiple devices and look right. How do I accomplish this? I saw this: Display display = ((WindowManager)getSystemService(Context.WINDOW_SERVICE)).getDe