You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/01/19 15:24:18 UTC

[GitHub] [cordova-android] AleksandraMikic opened a new issue #1152: Input fields and buttons displaced after updates

AleksandraMikic opened a new issue #1152:
URL: https://github.com/apache/cordova-android/issues/1152


   # Bug Report
   
   ## Problem
   
   Since I updated Android Studio, I have a problem with the app display: the text is on it´s place, but all of the buttons, and input fields are moved to the left side of the screen. This happens on both Android and iOS (XCode was also updated), when building from both Windows and macOS, on all Android and iOS versions I could test on.
   
   ### What is expected to happen?
   
   All of the texts, input fields and buttons should be in the center of a screen.
   
   ### What does actually happen?
   
   The text remains where it should be, and all of the input fields and buttons are moved to the left side.
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   I am using ExperienceSampler templates (https://github.com/sabrinathai/ExperienceSampler/tree/master/ExperienceSampler%20Template%20Files/ExperienceSampler%20Template%20files%20for%20iOS/js), and did not change anything in the codes there from the time it worked well. Nothing changed exept from updating programs to the latest versions: Node, npm, git and gradle. I tried to downgrade everything to be exactly the same as before, but nothing helped.
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   <meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline' 'unsafe-eval' data: gap: https://ssl.gstatic.com; style-src 'self' 'unsafe-inline'; media-src *; connect-src expsamp/data_collector.cgi">
   		<meta name="format-detection" content="telephone=no">
           <meta name="msapplication-tap-highlight" content="no">
           <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
           <link rel="stylesheet" type="text/css" href="css/index.css">
           <title>Diary Surveys</title>
           <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
       	<script type="text/javascript" charset="utf-8" src="js/plugin/mustache.js"></script>
       	<script type="text/javascript" charset="utf-8" src="js/plugin/jquery-2.1.3.min.js"></script>
       	<script type="text/javascript" charset="utf-8" src="js/plugin/moment-with-locales.min.js"></script>
       	<script type="text/javascript" charset="utf-8" src="js/plugin/combodate.js"></script>
       	<script type="text/javascript" charset="utf-8" src="js/index.js"></script>
       </head>
       <body>
         <!-- HTML Template -->
         <body onload="app.initialize()">
             <div class="app">
             <div id="window">
                 <div id="question"><ul></ul></div>
             </div>
         </div>
       </body>
   </html>
   
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   Both Windows and Mac, Cordova Android platform 9, devices Android 7 and 9.
   
   ### Version information
   <!--
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   Cordova 10.0.0
   Platform Android 9
   Plugins:
   cordova-android-support-gradle-release 3.0.1 "cordova-android-support-gradle-release"
   cordova-plugin-badge 0.8.8 "Badge"
   cordova-plugin-device 2.0.3 "Device"
   cordova-plugin-dialogs 2.0.2 "Notification"
   cordova-plugin-local-notification 0.9.0-beta.3 "LocalNotification"
   cordova-plugin-splashscreen 5.0.4 "Splashscreen"
   cordova-plugin-vibration 3.1.1 "Vibration"
   cordova-plugin-whitelist 1.3.4 "Whitelist"
   
   Windows 10
   Android Studio 4.1.1
   Node 14.15.1
   npm 6.14.8
   
   
   ![Displaced](https://user-images.githubusercontent.com/68643958/105051661-488cf880-5a6f-11eb-8c14-23de70f30bde.png)
   ![Normal viewport](https://user-images.githubusercontent.com/68643958/105051673-4aef5280-5a6f-11eb-9b72-b1a7351e0866.png)
   
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] AleksandraMikic closed issue #1152: Input fields and buttons displaced after updates

Posted by GitBox <gi...@apache.org>.
AleksandraMikic closed issue #1152:
URL: https://github.com/apache/cordova-android/issues/1152


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org