[android-developers] Force no scaling on web page
Android Developers,
I am developing a web page that is designed for viewing on an Android
phone.
The width is fixed at 320 pixels.
For some reason, when I view my web page on my Android phone (HT-03A),
it scales the page down, so there is all sorts of extra space on the
right of the viewport.
I just want the page to remain at a pixel ration of 1:1. No scaling.
Just leave it as it is.
After searching on the web, I came across some meta tags which, I
think, should force the Android to leave the web page alone:
<meta name="viewport" content="target-densitydpi=device-dpi" content="
user-scalable=no" content="width=device-width; initial-scale=1.0;
maximum-scale=1.0;" />
However, the Android still insists on changing the scale of the web
page.
How can I get Android to not scale my web page? I want one pixel to be
one pixel, and leave it at that.
Thank you for any advice.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home