From d44849d239f80acfbba6f2562cc31d0ecb2fa461 Mon Sep 17 00:00:00 2001 From: cketti Date: Tue, 21 Feb 2012 16:54:35 +0100 Subject: [PATCH] Restored previous/next animations --- src/com/fsck/k9/activity/MessageView.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/com/fsck/k9/activity/MessageView.java b/src/com/fsck/k9/activity/MessageView.java index fa3a303cd..5f87cb304 100644 --- a/src/com/fsck/k9/activity/MessageView.java +++ b/src/com/fsck/k9/activity/MessageView.java @@ -39,11 +39,11 @@ public class MessageView extends K9Activity implements OnClickListener { private static final int ACTIVITY_CHOOSE_FOLDER_COPY = 2; private static final int ACTIVITY_CHOOSE_DIRECTORY = 3; + private View mTopView; private SingleMessageView mMessageView; private PgpData mPgpData; - private View mNext; private View mPrevious; private View mDelete; @@ -295,6 +295,7 @@ public class MessageView extends K9Activity implements OnClickListener { requestWindowFeature(Window.FEATURE_NO_TITLE); setContentView(R.layout.message_view); + mTopView = findViewById(R.id.message_view_wrapper); mMessageView = (SingleMessageView) findViewById(R.id.message_view); //set a callback for the attachment view. With this callback the attachmentview @@ -737,11 +738,9 @@ public class MessageView extends K9Activity implements OnClickListener { } mLastDirection = NEXT; disableButtons(); - /* if (K9.showAnimations()) { mTopView.startAnimation(outToLeftAnimation()); } - */ displayMessage(mNextMessage); mNext.requestFocus(); } @@ -754,11 +753,9 @@ public class MessageView extends K9Activity implements OnClickListener { } mLastDirection = PREVIOUS; disableButtons(); - /* if (K9.showAnimations()) { mTopView.startAnimation(inFromRightAnimation()); } - */ displayMessage(mPreviousMessage); mPrevious.requestFocus(); }