Using Color Gradient in Kodular Components

Thanks For It :wink:

my screen is still white when I use this components. why?

2 Likes

you can’t do it on a screen, do an arrangement

In 2016, I think I was the first one (at least who published it) to make a procedure to generate gradients in a canvas without any extension. It was a bit slow for big rectangles, but it worked really fine.

https://groups.google.com/forum/#!searchin/mitappinventortest/gradients|sort:date/mitappinventortest/LUhZk0SE8TY/VExbXd6rAQAJ

ai2.appinventor.mit.edu/?galleryId=4720377609060352

Then one day in 2017, Juan Villalpando, the author of this extension published it in Thunkable for the first time and I used it a lot since then:

5 Likes

Great work. Can we use this extention directly to change screen background too? Or is it applicable only for horizantal/vertical arrangements?

You can try that yourself. Also what would be the difference? If you can’t use it in the screen background, just place an arrangement with both dimensions to FILL PARENT and that’s it.

3 Likes

Thanks mate

Is that possible to work on card view as well?

Take a card view
set the all padding to “0”
put an arrangement inside the card view, set its background color to none,
then you can show gradient color in arrangement and looks like its in card view

3 Likes

Smart!
Thank you so much!

2 Likes

Welcome :grinning:

Yes, It looks a lot like my 2017 extension in kio4.com

https://groups.google.com/forum/#!searchin/mitappinventortest/gradient|sort:date/mitappinventortest/ajZL8lvbWF0/_wyeoaeBCwAJ

Wait so this extension belongs to you?

I built that extension in 2017.

Regards,
http://kio4.com/appinventor/index.htm#extensiones

1 Like

oic
It is great extension!

Thank you @WatermelonIce, in this website there is a list of my extensions, in case you are interested in trying some …

http://kio4.com/appinventor/index.htm#extensiones

Uhm… I mentioned here:

1 Like

Oops :grimacing:

I got this message while publishing my app update using KIO4 gardient extension

still waiting for the app review

1 Like

Where and how much you used obfuscated text blocks?