New Update V2.2
Updated CreateAnimatedGradient block. Now you can provide a list of colors you want in gradient to animate.
Updated usage:-
Updated CreateAnimatedGradient block. Now you can provide a list of colors you want in gradient to animate.
Updated usage:-
First, thank you for your extension !
I would really love to make a background gradient for the SCREEN background (the full page). But impossible to add the SCREEN as component :
The error code :
Argument #2 (edu.mit.appinventor.aicompanion3.Screen1@55bdad2) to 'in.akshatt.AnimatedGradient.AnimatedGradient.CreateAnimatedGradient(com.google.appinventor.components.runtime.AndroidViewComponent,java.lang.Object,com.google.appinventor.components.runtime.util.YailList,int)' has wrong type (edu.mit.appinventor.aicompanion3.Screen1) (expected: com.google.appinventor.components.runtime.AndroidViewComponent)
Note: You will not see another error reported for 5 seconds.
What about using a vertical arrangement and putting all your other components in there?
Taifun
Yes, I can do it ![]()
What type of component is "Base" ?
Why error happen on initialize event?...are you duplicate it intentionally??...also what type of component "Base" is?? as @TIMAI2 said.
es una vertical arrangement
no eh duplicado el initialize event, no importa cuanto lo corrija da error
Try this:
anigradExtn.aia (9.3 KB)
Does it work?
(note you do not need the startAnimation block, the animation should start automatically)