diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-05-05 21:27:30 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-05-05 21:27:30 +0200 |
commit | 22b304baa9c547cb66eea4b7676be4c2085a23fd (patch) | |
tree | 4cf562abbbdc4ee3fd9eff77b2454c1aa066d317 /src/main/java | |
parent | c408c78630c86472806f9d34fc8d20943cba653e (diff) |
add custom animation to ConversationsActivity
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/ConversationsActivity.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConversationsActivity.java b/src/main/java/de/pixart/messenger/ui/ConversationsActivity.java index 5f8b0c18a..17227ff83 100644 --- a/src/main/java/de/pixart/messenger/ui/ConversationsActivity.java +++ b/src/main/java/de/pixart/messenger/ui/ConversationsActivity.java @@ -495,6 +495,10 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio } else { conversationFragment = new ConversationFragment(); FragmentTransaction fragmentTransaction = getFragmentManager().beginTransaction(); + fragmentTransaction.setCustomAnimations( + R.animator.fade_right_in, R.animator.fade_right_out, + R.animator.fade_right_in, R.animator.fade_right_out + ); fragmentTransaction.replace(R.id.main_fragment, conversationFragment); fragmentTransaction.addToBackStack(null); try { |