Shanytc wrote:Hey, I got it to work just fine,
however, the animation is displayed on the top left (0,0) side of the screen,
how can I change the position of the ImageView position on the screen?
I would like to move the animation to the middle of the screen
Could you like post your code or something? Mine looks just as most people on this pae describe (but without the Timer). I have the setContentView() before the findById() Parts and even so the following line throws a NullPointerException:
img.setBackgroundResource(R.drawable.game_over); /*game_over is the xml file which contains my animation drawable*/
Has anybody an idea what I'm doing wrong here? ://