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)).getDefaultDisplay();
Window window = getWindow();
window.setLayout(display.getWidth(),
ViewGroup.LayoutParams.WRAP_CONTENT);

How would I get this to work to make the dialog be about 60% of the
width and height?



On Sep 6, 7:27 pm, TreKing <treking...@gmail.com> wrote:
> On Tue, Sep 6, 2011 at 6:23 PM, treyb <tr...@ufl.edu> wrote:
> > Is there a tutorial or an example of this?
>
> http://www.google.com/search?q=android+dialog+theme
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to