Handler hnd = new Handler() { @Override public void handleMessage(Message msg) { int id = sequence.get(msg.arg1); if(msg.arg1 % 2 == 0
This is a wrong way to achieve it. This may help you. http://developer.android.com/guide/topics/graphics/2d-graphics.html#tween-animation