This is a migrated thread and some comments may be shown as answers.

Android shows everything very small

3 Answers 61 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
giord
Top achievements
Rank 1
giord asked on 10 Jan 2014, 01:01 PM
Hi

I developed a phonegap 3 app with kendo ui mobile. Works like a charm, already in the appstore.
Now I tested it on a android phone. It still works, but everything is very small, like half of the size compared to ios.
Am I missing some parameter or meta tag for scaling or anything else?

Thank you!

3 Answers, 1 is accepted

Sort by
0
Brian
Top achievements
Rank 1
answered on 12 Jan 2014, 10:20 PM
I'm not sure if it's the best way but you can set "target-densitydpi=medium-dpi" in your meta viewport tag.
0
Kamen Bundev
Telerik team
answered on 13 Jan 2014, 06:58 AM
Hi Bruno,

Kendo UI Mobile adds a meta tag that should take care of the scale of the application/site. However, generally you should avoid adding one yourself, which may interfere with ours. That said, I can only guess what the problem really is. Can you provide some sample code of your application (or can you reproduce the issue in a jsBin) and send it over? I can convert this thread to a ticket if you need the privacy.

Regards,
Kamen Bundev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
giord
Top achievements
Rank 1
answered on 13 Jan 2014, 08:37 AM
I found the problem. If you create a new phonegap app there's a viewport:
<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" />

Works with ios, not on android. After I removed the viewport everything works on android too, thank you.
Tags
General Discussions
Asked by
giord
Top achievements
Rank 1
Answers by
Brian
Top achievements
Rank 1
Kamen Bundev
Telerik team
giord
Top achievements
Rank 1
Share this question
or