Cardview: is there any way to change the elevation colour?

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

3 Likes

For some UI reasons I want to change elevation colour. Is there any way.

An answer has already been provided :slightly_smiling_face:.

2 Likes

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

2 Likes

Can it be considered in the next update :sweat: :sweat_smile:

1 Like

@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. :heart_eyes:

Mark this as a solution if this helped you :joy:

No should become transparent when it spreds

2 Likes

What if the background is transparent

1 Like

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

2 Likes

Yes @Xoma . But what if he want to change the elevation colour. I said we can create a shadow effect instead of elevation

2 Likes

Like this
IMG_20200807_105153

we can change the shadow colour, opacity, blur, position etc.

I’m using inkscape for vector graphics.

2 Likes

Hoo, so it’s possible, :sunglasses:

2 Likes

However
I can’t say that this method is to replace cardview.
But what if he want to change the elevation colour? :grin:

1 Like

wait few mins pls

Card (1)


Card View Design completely made by xoma :sunglasses:
You guys want toturial with custom look/elevation color?

  • Yes
  • No

0 voters

Card (4)
Made similar one

1 Like