答えはあなたにapplyed回転を変更する簡単です:
applyRotation(-1、0、90);およびapplyRotation(1,0、90)。私は古い実装をコメントアウトしまし
if (mPosition > -1) {
mStartView.setVisibility(View.GONE);
mEndView.setVisibility(View.VISIBLE);
mEndView.requestFocus();
//rotation = new Rotate3dAnimation(90, 180, centerX, centerY, 310.0f, false);
rotation = new Rotate3dAnimation(-90, 0, centerX, centerY, 310.0f, false);
} else {
mEndView.setVisibility(View.GONE);
mStartView.setVisibility(View.VISIBLE);
mStartView.requestFocus();
rotation = new Rotate3dAnimation(-90, 0, centerX, centerY, 310.0f, false);
//rotation = new Rotate3dAnimation(90, 0, centerX, centerY, 310.0f, false);
}
:あなたが最初にそれを呼び出すと、あなたは後半のためにそれを呼び出すときに、以下の使用時に
この
です。