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

Android: HW window: view does not show on 3.x devices

    Details

      Description

      Sample code:

      var win = Ti.UI.createWindow({
      	fullscreen: true,
      	backgroundColor: 'blue'
      });
       
      var bkgdView = Ti.UI.createView({
      	left: 0,
      	width: 200,
      	height: 200,
      	backgroundColor: 'white'
      });
      var v = Ti.UI.createView({
      	left: 50,
      	width: 100,
      	height: 100,
      	backgroundColor: 'green'
      });
       
      bkgdView.add(v);
      win.add(bkgdView);
      win.open();
      

      Steps to reproduce:
      1. run the above sample code on 3.x devices.

      Expected result:
      There should be two views in the window: one is white and one is green.

      Actual result:
      There is only one green view showing in the window. The white view will show up after an orientation change.

        Attachments

          Activity

            People

            • Assignee:
              ayeung Allen Yeung
              Reporter:
              pwang Ping Wang
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code