ボタンをある位置から別の位置に移動する必要があります。ビュー位置の移動は正常に機能しますが、古い領域のみがクリック可能です。
これは私のコードです:
Button animatorButton = (Button)findViewById(R.id.animatorbutton);
ObjectAnimator objectAnimatorButton = ObjectAnimator.ofFloat(animatorButton, "translationX", 0f, 400f);
objectAnimatorButton.setDuration(1000);
objectAnimatorButton.start();
ボタンを移動して古いクリック可能領域を無効にするにはどうすればよいですか?