Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove shadow from material Chip android view?

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?

like image 529
Elad Benda Avatar asked Oct 06 '19 23:10

Elad Benda


1 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"
like image 60
Md. Asaduzzaman Avatar answered Oct 04 '22 05:10

Md. Asaduzzaman