applications – How can I use a bunch of images as Live Wallpaper?

I have been trying to make it from a lot while, I guess there’s a way of getting it done with drawing it on XMl, and then setting xml as wallpaper.
If anyone can tell me How can I set A bunch of images as a live wallpaper.
And then double tap to change them.