Phonegap vsetko je velmi male rubrika: Programování: Android
2
ToTR
položil/-a 29.9.2016
Zdravim.
Spravil som si jednoduchu aplikaciu. V Browsery vyzera uplne super. Ale v momente ked vytvorim build vsetko v nej je neuveritelne male.
Proste krpate. az necitatelne. Problem je ze vobec netusim preco ked to v browsery vyzera skvelo.
Mate niekto tip co by mohlo byt zle?
Zdrojak vyzera asi takto
<!DOCTYPE html> <html> <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 <a href="https://issues.apache.org/jira/browse/CB-4323" title="https://issues.apache.org/jira/browse/CB-4323">https://issues.apache.org/jira/browse/CB-4323</a> --> <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" /> <link rel="stylesheet" type="text/css" href="css/ionic.min.css" /> <link rel="stylesheet" type="text/css" href="css/ionicons.min.css" /> <title>King4Home</title> <script type="text/javascript"> /// java script </script> </head> <body> <div class="bar bar-header"> <h1 class="title">Test</h1> <a href="#" class="button button-clear" id="logout">Logout</a> </div> <div class="padding" style="margin-top:5%;"> <label class="item-input"> <span class="input-label">Ok now you selcet photo from Gallery and Upload</br>Photo No 3</br> </br> and after only last one ! </br></span> </label> <Center> <button onclick="capturePhoto();">Upload a Photo</button> </center> </div> <script type="text/javascript" src="cordova.js"></script> <script type="text/javascript" src="js/jq.js"></script> <script type="text/javascript" src="js/auth.js"></script> </body> </html>
odkaz
Vyřešeno
2
ToTR
odpověděl/-a 29.9.2016
Vyriesene treba pouzit toto.
<meta name="viewport" content="initial-scale = 1.0,maximum-scale = 1.0">
Pro plný přístup na Devel.cz se prosím přihlaste:
Nebo se přihlaste jménem a heslem:
Komentáře