アニメーションの時間(out1)の間、別のアクティビティ(secondclas)への処理を待機するには、このボタンが必要です。どのようにコード化するのですか?クリック時 - 時間の経過後に別のアクティビティを開始する
button1.setOnClickListener(new View.OnClickListener() {
public void onClick(View view) {
image1.startAnimation(out1);
Intent Intent = new Intent(view.getContext(), secondclass.class);
startActivityForResult(Intent, 0);
}
}) ;
を感謝、それは動作します:) – Tytanit