I have been developing an app for Lollipop (API 21).
When I change the Button
color to something, the ripple effect doesn't works.
I found some third party libraries for the ripple effect, but I want to do this with standard API.
This answer didn't help either.
XML:
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="New Button"
android:id="@+id/button"
android:layout_below="@+id/textView"
android:background="@android:color/holo_blue_bright"
android:layout_alignParentStart="true"
android:layout_marginTop="76dp"
/>