开发者

How do I enable screen compatibility mode in android >11

I have an app that is quite old and still has to support Android 1.5 (API version 3) devices.

For some reason the screen compatibility mode has stopped running and I can't figure out why. It did work fine on honeycomb devices.

The result I am getting is that that the app is zoomed (i.e. all elements are oversized) instead of being stretched (all my activity use relative layouts so they all stretch fine - and it was working!).

In My Manifest I have:

<uses-sdk android:minSdkVersion="3"/>

and

<supports-screens android:largeScreens="true" android:anyDensity="true" android:smallScreens="true" android:resizeable="true" />

I have tried adding android:xlargeScreens="true" but to not avail.

The thing I cant figure out is why the compatibility mode button has disappeared for this app. Is there something in the manifest that can do that?

I have also tried :

<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="11"/>
<supports-screens android:largeScreens="true" android:anyDensity="true" android:smallScreens="true" a开发者_StackOverflow社区ndroid:resizeable="true" android:xlargeScreens="true" />


Your application target is API version 11, which means that the screen compatibility chooser won't show up. Try with a lower target version, i.e. version 10 (Android 2.3).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜