Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-5764

Android: Splash screen stretches when orientation modes are set to landscape in app.js

    Details

      Description

      1) Create a new project and add the following to the app.js

      var win = Ti.UI.createWindow({
      	backgroundColor:'white'
      });
       
      var img = Ti.UI.createImageView({image:'grouch.jpg'});
       
      win.add(img);
       
      win.orientationModes = [
          Ti.UI.LANDSCAPE_LEFT,
          Ti.UI.LANDSCAPE_RIGHT
      ];
       
      win.open();
      

      2) Put the attached grouch.jpg in the Resources folder
      3) Hold device in portrait mode and launch app

      Actual results: Splash screen initially appears in portrait mode and then stretches into landscape mode. Image and status bar appear normally in landscape mode.

      Expected results: Splash screen appears in portrait mode. Image and status bar appear in landscape mode.

        Attachments

          Activity

            People

            • Assignee:
              ingo Ingo Muschenetz
              Reporter:
              avaghti Alan Vaghti
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-4907
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code