0
Android Spinner each element different color
Is there a way in android, using Kotlin, to set each element of a spinner to have a different color? I have a spinner_item.xml and a spinner in the activity_main.xml. I can set all items to have a color in spinner_item.xml, but is there a way to do it so that each individual element has a different color? Thanks!
1 Réponse
+ 1
Oh, you can use lottie library.you can make interactive spinner animation using adobe after effect or InDesign then using lottie change to JSON and add little library to ur android studio grade file finally load the animation file. in kotlin file when you want to stop the anim change the visibility to gone