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

Android: TouchFeedbackColor not working with borderRadius

    Details

    • Story Points:
      1

      Description

      The touchFeedbackColor that was introduced with 6.1.0.GA is not working if a button has a borderRadius:

      var win = Ti.UI.createWindow({
      	backgroundColor: '#fff',
      	layout: "vertical"
      });
       
      var button0 = Ti.UI.createButton({
      	title: "working",
      	tintColor: "#f34102"
      });
       
      var button1 = Ti.UI.createButton({
      	title: "working",
      	backgroundColor: "#f34102",
      	touchFeedback: true,
      	touchFeedbackColor: '#912701',
          top:20
      });
       
      var button2 = Ti.UI.createButton({
      	title: "not working",
      	backgroundColor: "#f34102",
      	touchFeedback: true,
      	touchFeedbackColor: '#912701',
      	borderRadius: 4,
      	top: 20
      });
       
      win.add(button0);
      win.add(button1);
      win.add(button2);
      win.open();
      

      The native button0 and button1 are showing the ripple effect. The last button2 with a borderRadius just shows the backgroundColor without a ripple effect.

      SDK: 6.1.2.GA
      Android: HTC A9 Android 7 / Moto G2 5.0.2

        Attachments

          Activity

            People

            • Assignee:
              gmathews Gary Mathews
              Reporter:
              michael Michael Gangolf
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration