6

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?

Gabriele Mariotti
  • 320,139
  • 94
  • 887
  • 841
Elad Benda
  • 35,076
  • 87
  • 265
  • 471

2 Answers2

10

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"
Md. Asaduzzaman
  • 14,963
  • 2
  • 34
  • 46
1

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

Martin Marconcini
  • 26,875
  • 19
  • 106
  • 144