Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16773] Android: View with border won't animate

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-06-04T17:30:39.000+0000
Affected Version/sRelease 3.2.3
Fix Version/sRelease 3.3.0
ComponentsAndroid
Labelsmodule_animation, parity, qe-3.2.3, qe-testadded
ReporterPriya Agarwal
AssigneeHieu Pham
Created2014-03-28T11:41:11.000+0000
Updated2014-06-09T20:03:21.000+0000

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.

Comments

  1. Ingo Muschenetz 2014-06-02

    Does this mean that it should be marked as fixed in 3.3.0?
  2. Kajenthiran Velummaylum 2014-06-04

    Tested in following environment using Android and iOS devices. - It gives the expected output (Red View animated towards down) with the code provided in *Description* section. - In SDK 3.2.3GA there was no animation in Android device. Test Environment: || Component || Version || | Appcelerator Studio | 3.3.0.201405271647 | | Titanium SDK | 3.3.0.v20140603152512 | | Node | 0.10.28 | | acs | 1.0.14 | | alloy | 1.4.0-beta | | npm | 1.4.9 | | CLI | 3.3.0-beta2 | | Titanium-code-processor | 1.1.1 | | OS | OSX 10.9.3 | | Device | Galaxy S5 (v4.4.2), iPhone 5S (iOS 7.1) |
  3. Lokesh Choudhary 2014-06-04

    Verified, works as expected in latest 3_3_X SDK. On 3.2.3.GA we see no animation. Environment: Appc Studio : 3.3.0.201405271647 Ti SDK : 3.3.0.v20140603152512 Mac OSX : 10.8.5 Alloy : 1.4.0-beta CLI - 3.3.0-beta2 Code Processor: 1.1.1 Nexus 5 - android 4.4.2
  4. Lokesh Choudhary 2014-06-09

    Closing based on my last comment

JSON Source