La imagen está reproduciendo una animación y se puede hacer clic en la imagen.

Hice una animación simple para una imagen y configuré el evento OnClick en la imagen para hacer un brindis. El problema es que hice que la imagen comenzara a hacer la animación en el onCreate y configuré la imagen para hacer clic y disparar la tostada, pero el problema es que no se puede hacer clic en la imagen, pero si presiono la posición original En la imagen, se inicia el brindis (onClick no se mueve con la animación)

gracias por tu ayuda

Este es el código de animación en la carpeta anim (translate.xml)

<?xml version="1.0" encoding="utf-8"?>
    <set xmlns:android="http://schemas.android.com/apk/res/android"
      android:interpolator="@android:anim/linear_interpolator" >
    <translate
        android:duration="1500"
        android:fromXDelta="-100%p"
        android:repeatCount="0"
        android:repeatMode="reverse"
        android:toXDelta="0" />

    </set>

y esta es la clase de actividad

package com.example.animatest;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.widget.ImageView;
import android.widget.Toast;

public class MainActivity extends Activity {

private ImageView image01;

private long aefe;
private ImageView image1;
private ImageView image2;

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    image01 = (ImageView) findViewById(R.id.imageView1);

    final Animation animTranslate1 = AnimationUtils.loadAnimation(this,
            R.anim.translate);

    image01.startAnimation(animTranslate1);

    image01.setOnClickListener(new OnClickListener() {

        @Override
        public void onClick(View view) {

            Toast.makeText(MainActivity.this, "hello", Toast.LENGTH_SHORT)
                    .show();

        }
    });

}

}

Respuestas a la pregunta(1)

Su respuesta a la pregunta