Blynn
Blynn

Reputation: 1411

Android phonegap app scaling too large

I designed my Android phone gap app to be the dimensions of width: 480px height: 320px and the app has a zoom set on it to scale up fit the screen size of a 7 inch tablet which has the resolution of 1280 x 1024.

I've tried multiple ways to use zoom: 110% or so to get the app to scale to fit the screen, but when I run the app inside the actual environment it appears much larger than the screen. Did I miss something do I need meta code to emulate my scaling better the way it works inside a web browser?

Inside my head I have

<meta name = "viewport" content = "initial-scale = 1.0">
<meta name="viewport" content="width=480,height=320">

Any help provided would be great.

Upvotes: 0

Views: 3081

Answers (1)

v0d1ch
v0d1ch

Reputation: 2748

I think you should read this article Basically you should consider screen density not the actual width or height of device and than try to compensate with zoom.Check the section "Building web pages to support different screen densities"

Upvotes: 2

Related Questions