First Android app - Screen size problem

Last Updated:

  1. jr001

    jr001 New Member

    Hi everyone,

    I have decided to have a go at coding my own Android app and I am running into some difficulty and hopefully someone here can help.

    As I have experience in web development, I decided to use HTML, Phonegap and Eclipse.

    Now my problem is, once I compile the app and run it on my my phone. The app is not full screen (The notification bar is still visible) and it looks bigger than it should be (As in it is scroll-able to the left and right and up and down).

    The strange thing is, my app is within a container file in the html file and has been sized in the CSS to be 480px in width, So I cannot understand why it looks bigger once compiled.

    I have done some research on this. from sites like developer android forums and stack overflow. etc. and inserted different pieces of code into my manifest file.

    I have even inserted this code into my html file, which resulted in the app looking fine in a browser but still it does not look right once compiled.

    [HIGH]<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />[/HIGH]

    I was wondering if anyone could please shed some light on this.

    Thank you for taking to the time to help.


  2. jr001

    jr001 New Member

    I have done some research on how to make the app full screen.
    I now know that I have to put this


    Inside my manifest but even this does not work. I have even put more then one instance in there in differant places too see if that would work.

    Here is my manifest.

    [HIGH]<?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns:android=""
    android:versionName="1.0" >

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

    android:targetSdkVersion="17" />

    <application android:label="@string/app_name" android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
    <activity android:name="com.test.testapp.MainActivity"
    <action android:name="android.intent.action.MAIN" />
    <category android:name="android.intent.category.LAUNCHER" />



    Thank you

  3. kodiak211

    kodiak211 Well-Known Member

Share This Page