Android Manifest missing screen info

Hello,

FYI, the auto generated AndroidManifest.xml file does not contain the following info:



<supports-screens

android:smallScreens=“true”

android:normalScreens=“true”

android:largeScreens=“true”

android:anyDensity=“true”

/>



and, as a result, the application (when run on an android tablet device) does not take advantage of the full resolution of the device.

Use xml tags to post xml… Anyway did you update to the latest stable version, i cannot see what directives you meant but there have been a few screen related things added.

ooops!

Here it is:

[xml]

<supports-screens

android:smallScreens="true"

android:normalScreens="true"

android:largeScreens="true"

android:anyDensity="true"

/>

[/xml]

If this is missing, the application on my Android Xoom tablet runs at 545x320 instead of 1280x800.

I had to manually add this info to AndroidManifest.xml

and yes, I updated to the latest stable version.

No, this is being added to the android manifest, not if it existed already before updating but if you recreate the android project it will be there.

It’s weird Normen. I have my system updated (stable version & tools->plugins->updates list is empty) and if I generate a new project the created AndroidManifest file is this one:



[xml]<?xml version=“1.0” encoding=“utf-8”?>

<manifest xmlns:android=“http://schemas.android.com/apk/res/android

package=“com.mycompany.mygame”

android:versionCode=“1”

android:versionName=“1.0”>

<application android:label="@string/app_name" >

<activity android:name=“MainActivity”

android:label="@string/app_name">

<intent-filter>

<action android:name=“android.intent.action.MAIN” />

<category android:name=“android.intent.category.LAUNCHER” />

</intent-filter>

</activity>

</application>

</manifest>[/xml]

Hm, it might be I’m wrong and it hasn’t been merged to stable yet… At any instance this is taken care of and will be put in effect for all users at some point :wink: