How to remove shadow from material Chip android view?

Viewed 1600

enter image description here

I use android material Chip view

It seems it has a shadow in the lower part.

Which attribute to way can I use to remove any chance of bottom shadow?

2 Answers

I can't see the shadow in normal state but found in pressed state. And that should be eliminated using stateListAnimator attribute. Please check:

android:stateListAnimator="@null"

If you don't want a drop shadow, use elevation=0dp and the component should not render the fake shadow.

Related