mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-24 08:38:51 -05:00
Restored previous/next animations
This commit is contained in:
parent
ec6645bf6a
commit
d44849d239
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user