Hello,
I've an application which works correctly under iOS and I'm porting it to Android.
But when I try to run it under Moto G, I have the following behaviours:
- with <meta name="viewport" content="user-scalable=no, initial-scale=1, minimum-scale=1, maximum-scale=1, width=device-width"/>, the window size is only 360x567 and not 720x1134 like I would expected
- with <meta name="viewport" content="user-scalable=no, initial-scale=0.5, minimum-scale=0.5, maximum-scale=0.5, width=device-width"/>, the window size is still 360x567 but the document size is 720x1134. But only 1/4 on the document is displayed, I need to scroll to see the rest of the the page.
- with <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />, still 360x567
How can I have a window size of 720x1134?
On iOS retina, I use <meta name="viewport" content="user-scalable=no, initial-scale=0.5, minimum-scale=0.5, maximum-scale=0.5, width=device-width"/> which give me the window at the full size.
Thanks
Baptiste