Thank you for the response. I gave it a try and it reports the same.
The screen is locked in portrait mode and the bottom, I would guess 72
pixels, are black. The rest of the screen is being drawn correctly. It
also works on the other larger modes.
Leigh
On 6/2/2010 5:32 PM, social hub wrote:
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
<leigh.mc...@lonedwarfgames.com
<mailto:leigh.mc...@lonedwarfgames.com>> 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
android-developers@googlegroups.com
<mailto:android-developers@googlegroups.com>
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
<mailto:android-developers%2bunsubscr...@googlegroups.com>
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 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
--
Leigh McRae
www.lonedwarfgames.com
--
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