Android BottomNavigationView/TabLayout 去除默认涟漪效果

BottomNavigationView:

加入

app:itemRippleColor="@android:color/transparent"

TabLayout 

加入:

app:tabRippleColor="@android:color/transparent"

即可

Android BottomNavigationView/TabLayout 去除默认涟漪效果_第1张图片

 

你可能感兴趣的:(androidx,Java,设计模式,android,java,apache)