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

Android: Lightweight window animations on open not working

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Android
    • Environment:

      Titanium SDK: 2.1.1.GA
      Platform OS: Android 4.0

    • Sprint:
      Release 3.0.0

      Description

      Note: Heavyweight windows are addressed in TIMOB-10302.

      Issue

      Animations on opening a lightweight window are not working.

      Steps to Reproduce

      1. Run the sample code below

       
       
      var win = Ti.UI.createWindow({
          backgroundColor: 'white'
      });
       
      win.open();
       
      win.addEventListener('click', function(){
         
         var win1 = Ti.UI.createWindow({
             backgroundColor: 'red',
             left: 320
             
         });
         
         var slide_it_left = Titanium.UI.createAnimation();
          slide_it_left.left = 0; 
          slide_it_left.duration = 300;
           
          win1.open(slide_it_left);
          
      });
      
      

      2. No animation occurs. The new window is stuck at position 320.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ayeung Allen Yeung
                Reporter:
                vjoshi Varun Joshi
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code