Go Back   Android Forums > Android Development > Application Development
Application Development Dev lounge for our application developers.

Like Tree1Likes
  • 1 Post By jr001

test: Reply
LinkBack Thread Tools
Old July 12th, 2013, 08:08 AM   #1 (permalink)
New Member
Thread Author (OP)
Join Date: Jul 2013
Posts: 2
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default First Android app - Screen size problem

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.


jr001 is offline  
Reply With Quote
sponsored links
Old July 12th, 2013, 10:59 AM   #2 (permalink)
New Member
Thread Author (OP)
Join Date: Jul 2013
Posts: 2
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Fullscreen

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="http://schemas.android.com/apk/res/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

kodiak211 likes this.
jr001 is offline  
Reply With Quote
Old July 13th, 2013, 02:15 AM   #3 (permalink)
Junior Member
kodiak211's Avatar
Join Date: Apr 2012
Location: Reading, Pennsylvania, United States
Gender: Male
Posts: 52
Device(s): GS2 Epic, Sprint, iPhone 3GS, At&t
Carrier: Sprint

Thanks: 8
Thanked 5 Times in 4 Posts

Here are some good videos to watch...
TheNewBoston on YouTube...

Android Application Development Tutorials - YouTube
kodiak211 is offline  
Reply With Quote

Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT -5. The time now is 12:30 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.