The Ti.UI.Android.CardView has always ignored the "touchFeedback" and "touchFeedbackColor" properties and would never show a ripple effect. Now that Titanium 10.x.x uses the Java MaterialCardView widget, we shouldn't ignore these properties anymore because this native "material" widget shows a ripple effect by default.
Steps to reproduce:
- Build and run the below on Android.
- Tap on the card view in the app.
- Notice the ripple effect is gray and not yellow. (This is the bug.)
As of Titanium 10.0.0, setting the "touchFeedback" and "touchFeedbackColor" properties causes the following warning message to be logged. We should resolve this issue too.
Add a view to the CardView and set it up with touch feedback.