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

Android splash screen stretched horizontally in landscape mode

    Details

      Description

      {html}<div><p>On Android, the default.png splash screen image gets stretched
      to the full native screen size while it's displaying. This is
      reasonably ok when in portrait mode on most phones (though your
      image will be stretched a bit vertically on a Nexus 1 or Droid),
      but when in landscape mode the image actually changes orientation,
      and is now stretched vveerryy wwiiddee which doesn't look very
      good.</p>
      <p>This is particularly bad on tablet/netbook form factors where
      you're more likely to be in landscape mode while launching an
      application.</p>
      <p>For the moment I've worked around this in StatusNet Mobile by
      hacking up the resource settings to set the image to centered
      instead of stretched; this cuts off the top and bottom in landscape
      mode (but the core part of our image fits and looks correct), and
      will probably lead to a smaller-than-fullscreen image on tablet
      devices. Since this requires changing the generated resource files,
      I had to put another hack into our local fork of the library:</p>
      <p><a href=
      "http://github.com/brion/titanium_mobile/commit/8f5586dd9f40b34e04c6ebc2bbfb31eaeb805da3">
      http://github.com/brion/titanium_mobile/commit/8f5586dd9f40b34e04c6...</a></p>
      <p>In researching this issue, I discovered that
      orientation-specific splash screens can be set up on iPad:<br>
      <a href=
      "http://developer.appcelerator.com/question/24271/ipad-default-image-splash-screen-orientation-cutoff">
      http://developer.appcelerator.com/question/24271/ipad-default-image...</a></p>
      <p>Handy! It might be a good idea to include similar support for
      Android, but I'm not sure whether that can be easily implemented
      using the theme.xml background settings currently used for the
      splash screen.</p>
      <p>Assigning to our support contact.</p></div>{html}

        Attachments

          Activity

            People

            • Assignee:
              nwright Nolan Wright (Inactive)
              Reporter:
              rpfeiffer Ralf Pfeiffer
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration