Ripple Effect on android tabs is by default in white color. I want to add a ripple effect on tablayout
but my tabs background is white already and the ripple effect is invisible on it.
<android.support.design.widget.TabLayout
android:id="@+id/tabs"
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_gravity="end"
android:layout_weight="1"
android:background="@color/white"
app:layout_collapseMode="pin"
app:tabMode="fixed"
app:tabIndicatorColor="@color/colorPrimary"
app:tabBackground="?attr/selectableItemBackground"
app:tabSelectedTextColor="@color/colorPrimary"
app:tabTextColor="#222"
/>
Is there a way to change color of tabLayout ripple effect so it could be seen even in white background?