[TIMOB-16773] Android: View with border won't animate
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-06-04T17:30:39.000+0000 |
Affected Version/s | Release 3.2.3 |
Fix Version/s | Release 3.3.0 |
Components | Android |
Labels | module_animation, parity, qe-3.2.3, qe-testadded |
Reporter | Priya Agarwal |
Assignee | Hieu Pham |
Created | 2014-03-28T11:41:11.000+0000 |
Updated | 2014-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.
Does this mean that it should be marked as fixed in 3.3.0?
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) |
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
Closing based on my last comment