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

Android: touchFeedbackColor doesn't work if view has a transparent backgroundColor and a border

    Details

    • Story Points:
      3

      Description

      The code below illustrates the bug. I have added a border radius to the second view so that it is visible and can be clicked on. The same behaviour can also be observed without border radius

      var win = Ti.UI.createWindow({
      	backgroundColor : 'black'
      });
       
      var vwWithBgColor = Ti.UI.createView({
      	top : 50,
      	width : 200,
      	height : 100,
      	backgroundColor : 'red',
      	touchFeedback : true,
      	touchFeedbackColor : 'blue'
      });
      win.add(vwWithBgColor);
       
      var vwWithoutBgColor = Ti.UI.createView({
      	top : 200,
      	width : 200,
      	height : 100,
      	backgroundColor : 'transparent',
      	touchFeedback : true,
      	touchFeedbackColor : 'blue',
      	borderColor : 'red',//included bordercolor so that the view is visible
      });
      win.add(vwWithoutBgColor);
       
      win.open();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gmathews Gary Mathews
                Reporter:
                pritish.george pritish.george
                Reviewer:
                Joshua Quick
                Tester:
                Samir Mohammed
              • Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration