I want to know that is there any way to change the elevation colour of cardview.
No, elevation is just gives some shadow effect to Cars which is always grey in Native component
For some UI reasons I want to change elevation colour. Is there any way.
An answer has already been provided .
Doing it directly in Kodular, then No as it is set to gray (maybe in the future though). However I think it’s doable if manipulating the Theme, but it’s not easy finding the proper file or content of it
Can it be considered in the next update
@Sherpuraala Yes. Here’s my suggestion.
All you have to do is, just create an image which looks like a card so that you can change the colours. Then use a layout and set the image as background.
Mark this as a solution if this helped you
No should become transparent when it spreds
What if the background is transparent
No no i am saying that it background color/image/elevation must me solid when it’s near to cardview or a objects when it spreads, it should become transparent
Yes @Xoma . But what if he want to change the elevation colour. I said we can create a shadow effect instead of elevation
Like this
we can change the shadow colour, opacity, blur, position etc.
I’m using inkscape for vector graphics.
Hoo, so it’s possible,
However
I can’t say that this method is to replace cardview.
But what if he want to change the elevation colour?
wait few mins pls
Card View Design completely made by xoma
You guys want toturial with custom look/elevation color?
- Yes
- No
0 voters
Made similar one