Sunday, June 19, 2011

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

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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate