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

Android: Animation bug for using border on imageView on Ti SDK 3.2.3

    Details

      Description

      The image is suppose to move from point A to point B but with a border added to the image, the image moves down and disappears behind something that isn't there...

      Test code as follows (isolated from working project), one image has a border the other doesn't... both images use the same animation

      var window = Titanium.UI.createWindow({});
       
      var congrats = Titanium.UI.createImageView({
      	top: 200,
      	left:10,
      	width: 100,
      	height: 80,
      	image:'images/congratsimage.png',
      });
      window.add(congrats);
       
      var congratsalt = Titanium.UI.createImageView({
      	top: 200,
      	width: 100,
      	right: 10,
      	height: 80,
      	image:'images/congratsimage.png',
      	borderRadius : 10,
      	borderColor : "#000000",
      	borderWidth : 5,
      });
      window.add(congratsalt);
       
      var animation = Titanium.UI.createAnimation({
      	top: 50,
      	duration:1000,
      	autoreverse : true,
      	curve:Titanium.UI.ANIMATION_CURVE_LINEAR,
      });
       
      var butStart = Titanium.UI.createButton({
      	title : 'START',
      	font : {
      		fontSize : 32
      	},
      	color : '#ffffff',
      	borderRadius : 10,
      	borderColor : "#ffffff",
      	borderWidth : 5,
      	backgroundImage: 'none',
      	top: 400,
      	width: 200,
      	height: 50,
      });
      window.add(butStart);
      butStart.addEventListener('click', function () {
      	congrats.animate(animation);
      	congratsalt.animate(animation);
      });
      window.open();
      

        Attachments

          Activity

            People

            • Assignee:
              ingo Ingo Muschenetz
              Reporter:
              MAMSoft Michael Mathews
              Tester:
              Lokesh Choudhary
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration