July 12th, 2013, 08:08 AM
Thread Author (OP)
Join Date: Jul 2013
Carrier: Not Provided
Thanked 0 Times in 0 Posts
First Android app - Screen size problem
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.