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

Android: allow high-density-only resource overrides

    Details

      Description

      {html}<div><p>This is best explained by example. Say I have an app with the
      following resource, sized for a 320x480 screen:</p>
      <p>images/header.png</p>
      <p>Both my iPhone and Android builds pull it in fine. When I want
      to use a higher-res version for the iPhone 4, I add the
      following:</p>
      <p>images/<a href="mailto:header@2x.png">header@2x.png</a></p>
      <p>That works fine too. Now I want to pull in a higher-res version
      for the Android, so I add the following (using the latest SDK from
      master):</p>
      <p>android/images/high/header.png</p>
      <p>Doesn't work! I then copy images/header.png to:</p>
      <p>android/images/medium/header.png</p>
      <p>And the high-res one shows up now. Ideally I don't want the
      low-res header.png duplicated in two spots, so it would be great if
      having that image also in /medium wouldn't be required.</p></div>{html}

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ngupta Neeraj Gupta
                Reporter:
                matthewlieder Matthew Lieder
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration