Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13536] Android: Size animation broken

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2013-11-12T01:22:24.000+0000
Affected Version/sRelease 3.1.0
Fix Version/s2013 Sprint 23, 2013 Sprint 23 API, Release 3.2.0
ComponentsAndroid
Labelsandroid, animation, exalture, height, module_animation, qe-testadded, view, width
ReporterMartin Guillon
AssigneePing Wang
Created2013-04-12T16:54:05.000+0000
Updated2014-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();

Comments

  1. Martin Guillon 2013-04-12

    PR https://github.com/appcelerator/titanium_mobile/pull/4154
  2. Daniel Sefton 2013-04-12

    Confirmed with Samsung Galaxy S2 Android 2.3.6 Ti SDK 3.1 CI.
  3. Biju pm 2013-05-27

    Fixed the size broken animation issue https://github.com/appcelerator/titanium_mobile/pull/4333
  4. Allen Yeung 2013-06-04

    I have closed https://github.com/appcelerator/titanium_mobile/pull/4333. Please submit a single PR for all the changes associated with this JIRA.
  5. Martin Guillon 2013-06-05

    @Allen: haven't you seen my PR??
  6. Allen Yeung 2013-06-05

    [~farfromrefuge], Sorry, I was going down the list and didn't see that yet. I'll let take a look at it soon. Thanks.
  7. Allen Yeung 2013-06-06

    Merged https://github.com/appcelerator/titanium_mobile/pull/4154, Thanks for submitting this Martin!
  8. Dhirendra Jha 2013-10-24

    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)
  9. Allen Yeung 2013-10-25

    Seems to work on 2.X devices, but not 4.X
  10. Ping Wang 2013-11-07

    PR: https://github.com/appcelerator/titanium_mobile/pull/4929
  11. Priya Agarwal 2013-11-12

    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

JSON Source