I've found the reason this happens. According to the documentation: "Compatibility-mode display on larger screen-sizes If the current screen's size is larger than your application supports, as specified in the supports-screens element, the platform displays the application at the baseline size ("normal") and density ("medium). For screens larger than baseline, the platform displays the application in a baseline-sized portion of the overall screen, against a black background."
This is what's happening to me. Unfortunately my app is being built against Android 1.5 and I can't include the <supports-screens> tag in the manifest to indicate that I support the large screens which would allow it to scale properly. Does anyone know of a way to tell the screen to stretch / fill_parent on large screens in Android 1.5? Thanks, Rob On May 13, 7:43 pm, Stormtap Studios <r...@stormtapstudios.com> wrote: > Hi guys, > > I have this layout: > > <?xml version="1.0" encoding="utf-8"?> > <LinearLayout > xmlns:android="http://schemas.android.com/apk/res/android" > android:orientation="vertical" > android:layout_height="fill_parent" > android:layout_width="fill_parent" > android:background="#FFFFFF"> > <LinearLayout android:id="@+id/MenuTitleLinearLayout" > android:orientation="horizontal" android:layout_width="fill_parent" > android:background="@drawable/titlebarbg" > android:layout_height="44dp"> > <trc.prl.Utility.HTMLTextView android:id="@+id/ > HTMLTextViewTitlePreviousMenu" android:layout_width="wrap_content" > android:layout_gravity="left|center_vertical" > android:textColor="#FFFFFF" android:scrollbars="none" > android:textStyle="bold" android:gravity="left|center_vertical" > android:background="@drawable/previoustitlebarbg" > android:paddingLeft="4dp" android:paddingRight="4dp" android:lines="2" > android:layout_height="fill_parent"/> > <ImageView android:layout_width="wrap_content" > android:layout_gravity="center_vertical" android:background="@drawable/ > titleseparator" android:id="@+id/ImageTitleSeparator" > android:layout_height="fill_parent"/> > <trc.prl.Utility.HTMLTextView android:id="@+id/ > HTMLTextViewTitleCurrentMenu" android:layout_marginLeft="4dp" > android:layout_marginRight="4dp" android:scrollbars="none" > android:textColor="#FFFFFF" android:layout_width="fill_parent" > android:layout_weight="1" android:layout_gravity="center_vertical" > android:textStyle="bold" android:gravity="left|center_vertical" > android:lines="2" android:ellipsize="end" > android:layout_height="fill_parent" android:layout_marginBottom="4dp" > android:layout_marginTop="4dp"/> > <Button android:layout_height="wrap_content" android:id="@+id/ > MenuSubscribeButton" android:layout_gravity="center_horizontal| > center_vertical" android:text="Subscribe" android:textColor="#FFFFFF" > android:background="@drawable/greenbuttonselector" > android:textSize="10dp" android:layout_width="60dp" > android:visibility="gone" android:layout_marginRight="4dp"/> > </LinearLayout> > <ListView android:id="@android:id/list" > android:layout_width="fill_parent" android:layout_height="fill_parent" > android:cacheColorHint="#FFFFFF" android:footerDividersEnabled="true" > android:headerDividersEnabled="true" android:divider="@drawable/ > listdivider"></ListView> > </LinearLayout> > > When I test on the emulator with a target pointed at API level 7 with > the WQVGA 432 screen size and run the app I see my app with everything > in place nicely, however there's a block of black at the bottom of the > screen, approximately 1/5th of the screen height. The view isn't > stretching down to fill the entire height of the screen even though > the layout is set to "fill_parent". > > Can anyone tell me why this is? What do I need to do to support WQVGA > 432? > > Thanks very much, > > Rob Hawkey > > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" group. > > NEW! Try asking and tagging your question on Stack Overflow > athttp://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com > For more options, visit this group > athttp://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en