First, to clarify: a Canvas is not a View but a drawing object that refers to a View (Activity, ImageView, Panel etc).
On what view do you draw the animation ?
If you draw it onto the Activity and you add an ImageView this one will aleays be on top of the Activity.
You should either:
- Draw the background on the Activity and the animation on an ImageView.
- Draw the background on one ImageView and the animation on a second ImageView on top of the first one.
You should have a look at chapter 16 Graphics / Drawing in the
Beginner's Guide.
Best regards.