[android-developers] How to use whole screen on 1024x480 Android device (Acer Iconia Smart)?

2011-06-20 Thread Oliver
When running manually compiled Android apps on the Acer Iconia Smart,
there always remains a black bar at the bottom of the screen that is
not usable by the apps. This happens for my own as well as other apps
compiled from source. Pre-installed apps do not show this behavior and
make use of the whole screen.

The device has a 1024x480 screen, but I can only make use of 855×480
pixels. This is the size reported by
getResources().getDisplayMetrics().

So far, any attempts to fix the issue have failed, including:

- manually changing the display metrics (using
getResources().updateConfiguration(config, metrics).

- setting all possible attributes of supports-screens to true in the
Android manifest.

android:minSdkVersion is set to 10, corresponding to the Android 2.3.3
version on the device.

Any ideas? Did anybody successfully deploy self-compiled apps on this
device that make use of the entire screen estate?

-Oliver

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


Re: [android-developers] How to use whole screen on 1024x480 Android device (Acer Iconia Smart)?

2011-06-20 Thread Dianne Hackborn
That screen is outside of the compatible range of aspect ratios defined by
the CDD, so they presumably are limiting what an application sees to remain
compatible.  You will need to talk with the manufacturer about any APIs they
provide for applications to turn off that compatibility support.

On Sun, Jun 19, 2011 at 11:49 PM, Oliver oliver.trach...@gmail.com wrote:

 When running manually compiled Android apps on the Acer Iconia Smart,
 there always remains a black bar at the bottom of the screen that is
 not usable by the apps. This happens for my own as well as other apps
 compiled from source. Pre-installed apps do not show this behavior and
 make use of the whole screen.

 The device has a 1024x480 screen, but I can only make use of 855×480
 pixels. This is the size reported by
 getResources().getDisplayMetrics().

 So far, any attempts to fix the issue have failed, including:

 - manually changing the display metrics (using
 getResources().updateConfiguration(config, metrics).

 - setting all possible attributes of supports-screens to true in the
 Android manifest.

 android:minSdkVersion is set to 10, corresponding to the Android 2.3.3
 version on the device.

 Any ideas? Did anybody successfully deploy self-compiled apps on this
 device that make use of the entire screen estate?

 -Oliver

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