Android应用程序显示在低变焦

问题描述:

我使用phonegap创建了简单的android应用程序,并部署到playstore。不幸的是,一旦我部署应用程序存储,它显示在一个非常小的区域,像整个屏幕放大到10%甚至更少。可能是什么问题?我有默认视口设置等Android应用程序显示在低变焦

<head> 
<meta charset="utf-8" /> 
    <meta name="format-detection" content="telephone=no" /> 
    <meta name="msapplication-tap-highlight" content="no" /> 
    <!-- WARNING: for iOS 7, remove the width=device-width and height=device-height attributes. See https://issues.apache.org/jira/browse/CB-4323 --> 
    <meta name="viewport" content="user-scalable=yes, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" /> 
    <link rel="stylesheet" type="text/css" href="css/index.css" /> 
    <title>Weather Application</title> 
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.5/angular.min.js"></script> 
</head> 
+1

把一些代码在这里从'index.html',以获取有关假设有将是头部的问题在qiestion,我更新的头部代码问题 – dhaval

+0

更多的想法。 – Kurkula

+0

为什么要保持'user-scalable = yes',也是你测试过哪个设备?在部署到应用商店之前,您是否测试过签名的APK? – dhaval

@Chandana, 你有太多的在你的头。减少你的viewport中的声明,然后添加你所需要的。

从此开始,一次添加一个项目。

<meta name="viewport" width=device-width /> 

杰西