in the high rez layout folder make a new xml file and give your linear
layout  a hard coded value, you can check the dev guide to see what
the minimum width/height needs to be for it to use the high rez layout
so you don't need to worry about making it to big

On Jan 19, 8:24 pm, Zsolt Vasvari <[email protected]> wrote:
> I have a pop-up dialog with a handful of views.  When I test it on a
> high-res, medium density screen (480x800x160dpi), the dialog is very
> small, about half of the available screen width.  I define the layout
> as such:
>
> <?xml version="1.0" encoding="utf-8"?>
> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/
> android"
>                           android:layout_width="fill_parent"
>                           android:layout_height="wrap_content"
>                           android:orientation="vertical"
>                           android:paddingLeft="5dip"
>                           android:paddingRight="5dip">
>
>                                :
>                                :
> </LinearLayout>
>
> I hoped that by not defining an a particular width, the system would
> take care of sizing it to the available screen real estate, and I need
> not to worry about the different display metrics.  This doesn't appear
> to be the case.  Am I missing something here?
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to