can u try Display display = getWindowManager().getDefaultDisplay().getMetrics(dm); dm.heightPixels. this gives absolute height. I think this is what you are after.
On Wed, Jun 2, 2010 at 4:25 PM, Leigh McRae <[email protected]>wrote: > Hello, > > I created an emulator using API level 5 and skin WQVGA432. I would > expect the display size would be 240x432 but I get 240x360 using the > following code. > > Display display = getWindowManager().getDefaultDisplay(); > > int w = display.getWidth(); > int h = display.getHeight(); > > Also I believe I have the auto-scaling off using the following. > > <supports-screens > android:resizeable="false" > android:normalScreens="true" > android:largeScreens="true" > android:anyDensity="true" > android:smallScreens="false"></supports-screens> > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- 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

