zaheer
zaheer

Reputation: 143

Change shadow color of card view

i want the shadow color be like this in image. I want the card view shadow be like below image,

Upvotes: 0

Views: 1016

Answers (1)

Raj
Raj

Reputation: 194

CardView shadow color will be on bottom and left side of card (present outside). Based on elevation property you set on card view that much shadow will be visible By default shadow color will be in gray. From your image I found that color you will be needing will be inside the cardView so you must be setting using the background property (using custom image or through designed image in drawable).

Upvotes: 1

Related Questions