Re: [android-developers] Full screen on HTC sensation (qHD)

2011-06-24 Thread Dianne Hackborn
Your application is running in screen size compatibility mode.  The easiest
way to fix this it to set an android:targetSdkVersion of 4 or greater.  More
info here:

http://developer.android.com/guide/topics/manifest/supports-screens-element.html

On Thu, Jun 23, 2011 at 7:01 AM, GekkeHenkie wiel...@gmail.com wrote:

 Hi,

 I'm creating my first android app, which I derived from the
 BluetoothChat example.

 However, on my phone (HTC sensation with qHD resolution, 540 bij 960
 pixels) the lowest inch of the screen and a few lines at the sides are
 not used by the app. See these images:

 http://dl.dropbox.com/u/16350275/android/withoutmenu.png
 http://dl.dropbox.com/u/16350275/android/withmenu.png

 The layout-items are set to fill_parent so I expected something like
 this (scaled, but set at right resolution in eclipse):
 http://dl.dropbox.com/u/16350275/android/eclipse.png

 Has anybody an idea where I should look to fix this? So far I didn't
 find any reference in the projectfiles to the screenresolution.

 --
 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




-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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

[android-developers] Full screen on HTC sensation (qHD)

2011-06-23 Thread GekkeHenkie
Hi,

I'm creating my first android app, which I derived from the
BluetoothChat example.

However, on my phone (HTC sensation with qHD resolution, 540 bij 960
pixels) the lowest inch of the screen and a few lines at the sides are
not used by the app. See these images:

http://dl.dropbox.com/u/16350275/android/withoutmenu.png
http://dl.dropbox.com/u/16350275/android/withmenu.png

The layout-items are set to fill_parent so I expected something like
this (scaled, but set at right resolution in eclipse):
http://dl.dropbox.com/u/16350275/android/eclipse.png

Has anybody an idea where I should look to fix this? So far I didn't
find any reference in the projectfiles to the screenresolution.

-- 
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