[TIMOB-13536] Android: Size animation broken
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-11-12T01:22:24.000+0000 |
Affected Version/s | Release 3.1.0 |
Fix Version/s | 2013 Sprint 23, 2013 Sprint 23 API, Release 3.2.0 |
Components | Android |
Labels | android, animation, exalture, height, module_animation, qe-testadded, view, width |
Reporter | Martin Guillon |
Assignee | Ping Wang |
Created | 2013-04-12T16:54:05.000+0000 |
Updated | 2014-12-09T19:23:35.000+0000 |
Description
see the weird behaviors (PR coming)
var win = Ti.UI.createWindow({
backgroundColor:'blue',
modal:false
});
var holder = Ti.UI.createView({
width:200,
height:30,
backgroundColor:'gray'
})
var progress = Ti.UI.createView({
left:0,
top:0,
bottom:0,
width:'0%',
backgroundColor:'green'
})
holder.add(progress);
win.add(holder);
var value = 0
setInterval(function (){
value = (value + 10) % 100
progress.animate({
width:(value + '%'), duration:100
})
}, 1000)
win.open();
PR https://github.com/appcelerator/titanium_mobile/pull/4154
Confirmed with Samsung Galaxy S2 Android 2.3.6 Ti SDK 3.1 CI.
Fixed the size broken animation issue https://github.com/appcelerator/titanium_mobile/pull/4333
I have closed https://github.com/appcelerator/titanium_mobile/pull/4333. Please submit a single PR for all the changes associated with this JIRA.
@Allen: haven't you seen my PR??
[~farfromrefuge], Sorry, I was going down the list and didn't see that yet. I'll let take a look at it soon. Thanks.
Merged https://github.com/appcelerator/titanium_mobile/pull/4154, Thanks for submitting this Martin!
Not able to see any green animated progress bar. Only grey color view is being visible. Hence reopening this issue. Test Environment - Appc Studio - 3.2.0.201310240448 SDK - 3.2.0.v20131023171643 acs -1.0.7 alloy - 1.2.2 titanium - 3.2.0 titanium-code-processor - 1.0.3 Xcode - 5.0.1 OS - Mac OS X Mavericks (10.9), Mountain Lion (10.8.5) Device - Nexus7(v4.3)
Seems to work on 2.X devices, but not 4.X
PR: https://github.com/appcelerator/titanium_mobile/pull/4929
Working fine. Progress Bar animating properly. Hence Closing as fixed. Test Environment: Appcelerator Studio: 3.2.0.201311112306 SDK:3.2.0.v20131111174605 alloy: 1.3.0 acs: 1.0.7 npm: 1.3.2 titanium: 3.2.0 titanium-code-processor: 1.0.3 Xcode:5.0.1 Device: Google nexus 7(v4.3),Samsung Note(v2.3.6) OS: Mac OSX 10.9