How to use color gradient inside CardView?

I am using CardView to make button in my project because it is beautiful.
And now I want to use gradient in my CardView. So I downloaded KIO4 gradient extension and imported it.
But when I use gradient for CardView, it gives me an error:

Argument #2 (com.google.appinventor.components.runtime.Maker...) to 'com.KIO4_Gradient.KIO4_Gradient.Gradient(com.google.appinventor.components.runtime.HVArrangement,java.util.List,int)' has wrong type (com.google.appinventor.components.runtime.MakeroidCardView) (expected: com.google.appinventor.components.runtime.HVArrangement)  
Note: You will not see another error reported for 5 seconds.

I don’t know what this means, and here’s my code:
blocks (1)

Is there any way to use gradient inside card view?

2 Likes

You can use the extension only with Horizontal or Vertical Arrangement. Try to use an arrangement as the background inside a cardview.

3 Likes

Use kevinenhance extension

1 Like

What is kevinenhance extension? Can you provide a link for it?
I can’t find something about it when I search kodular kevinenhance.

You can import Horizontal or Vertical Arrangement in CardView then give it gradient.

just use this extension

1 Like

just search enhance extension - Search results for 'enhance extension' - Kodular Community

1 Like

This post was flagged by the community and is temporarily hidden.

2 Likes

This post was flagged by the community and is temporarily hidden.

Thanks. Enhance extension solved my problem perfectly.

1 Like

Mark it as solution

please delete this post this is not correct to directly share a extension of someone else
@Peter pls take a look here

1 Like

Photoshop - gradient pic - inside background in Card

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.