I want to know if there is a way to make the app wait like 2-3 seconds after it does a button animation (pulsingAnimation.start()) so that after those three seconds it will do the next code in line which is to create an intent and start a new activity/finish the last one. Here is my code. Please help, thanks!

```
final Button Metric = (Button) findViewById(R.id.button2);
    final RelativeLayout r = (RelativeLayout) findViewById(R.id.relativeLayout6);
    final ObjectAnimator pulsingAnimation = ObjectAnimator.ofPropertyValuesHolder(r,
            PropertyValuesHolder.ofFloat("scaleX", 1.2f),
            PropertyValuesHolder.ofFloat("scaleY", 1.2f));

    pulsingAnimation.setRepeatCount(ObjectAnimator.INFINITE);
    pulsingAnimation.setRepeatMode(ObjectAnimator.REVERSE);
    Metric.setOnClickListener(new OnClickListener() {
        @Override
        public void onClick(View v) {

            pulsingAnimation.start();
                    Intent i = new Intent(MainActivity.this, Metric.class);
                    startActivity(i);
                    finish();

        }
    });

```