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

Android: View with border won't animate

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 3.2.3
    • Fix Version/s: Release 3.3.0
    • Component/s: Android
    • Environment:

      Appc Studio: 3.2.3.201403271839
      Sdk:3.2.3.v20140327115429
      alloy:1.3.1
      titanium:3.2.3-alpha2
      titanium-code-processor:1.1.1-alpha
      Osx: Maverick(10.9.2)
      Device:Nexus7(v4.4)

    • Sprint:
      2014 Sprint 11 SDK

      Description

      Steps to Reproduce:
      1. Copy paste the code on app.js and run the app.
      2. Click on the red view.

      var win = Ti.UI.createWindow({
          backgroundColor: 'black'
      });
       
      var view = Ti.UI.createView({
          backgroundColor: 'red',
          borderRadius: 20,
          borderColor: 'white',
          borderWidth: 10,
          top: 10,
          width: 100,
          height: 100
      });
      view.addEventListener('click', function() {
          view.animate({
              top: 100,
              duration: 3000
          });
      });
      win.add(view);
       
      win.open();
      

      Expected Result:
      2.Animation must occur. Red View must animate towards down.

      Actual Result:
      2. No Animation occur.

      Note: Working fine on iOS.Checked with iPHONE5(V7.0.4).
      Not making it as regression.
      Because with sdk:3.2.3.v20140327115429, No animation is being observed.
      But with sdk 3.2.2.GA Animation occurs on tapping the red view.But the whole view does not animate Only the red Colored part animate towards down. The white border part remains stable at its position.
      While in iOS complete view (red with white border) animate towards down.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hpham Hieu Pham
                Reporter:
                pagarwal Priya Agarwal
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code