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

Android: Background image of window never shows up when there is a view inside on specific devices

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Not Our Bug
    • Affects Version/s: None
    • Component/s: Android
    • Labels:
      None
    • Environment:

      Ti SDK 2.1.3,
      Devices List:
      Droid 3 - Android 2.3.4
      Droid Razr Maxx - Android 4.1
      Droid Razr - Android 2.3.5

      Description

      When trying to add a background image to a window with a view inside. The image never shows. There is just a blank grey background that shows up. This behaviour is only seen on specific devices listed above. On other devices it just works fine.

      var win = Titanium.UI.createWindow({
              backgroundImage:'test.png'
          })
       
          var data = [];
       
          data[0] = Ti.UI.createTableViewRow({hasChild:true,title:'Row 1', backgroundColor:'green'});
          data[1] = Ti.UI.createTableViewRow({hasDetail:true,title:'Row 2', backgroundColor:'green'});
          data[2] = Ti.UI.createTableViewRow({hasCheck:true,title:'Row 3', backgroundColor:'green'});
          data[3] = Ti.UI.createTableViewRow({title:'Row 4', backgroundColor:'green'});
          data[4] = Ti.UI.createTableViewRow({hasChild:true,title:'Row 1', backgroundColor:'green'});
          data[5] = Ti.UI.createTableViewRow({hasDetail:true,title:'Row 2', backgroundColor:'green'});
          data[6] = Ti.UI.createTableViewRow({hasCheck:true,title:'Row 3', backgroundColor:'green'});
          data[7] = Ti.UI.createTableViewRow({title:'Row 4', backgroundColor:'green'});
       
      var testView = Titanium.UI.createTableView({
          backgroundColor:'transparent',
          data:data,
       
      })
       
       
      win.add(testView);
      win.open();
      

        Attachments

          Activity

            People

            • Assignee:
              pwang Ping Wang
              Reporter:
              aakkinepally Amuktha Akkinepally
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration