I want to show Activity Animation when satrtactivity or finish ，but it invalid probably in TimerTask Thread(I knwon it work in UI Thread)

```
Timer timer = new Timer();
timer.schedule(new TimerTask() {
            @Override
            public void run() {
                startActivity(new Intent(myActionAnimation.this,activitytest.class));
                overridePendingTransition(android.R.anim.slide_in_left, android.R.anim.slide_out_right);
            }
        }, 100);

```

can anyboby explain it? thx.