From e798707fdf7d2653a7a2bdd0fb92ccfd1d190670 Mon Sep 17 00:00:00 2001 From: Len Chan Date: Wed, 27 Mar 2019 16:18:26 +0800 Subject: [PATCH] change refresh/extend animation to fade-out/fade-in in ShowConversationActivity --- .../etalab/mastodon/activities/ShowConversationActivity.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/main/java/fr/gouv/etalab/mastodon/activities/ShowConversationActivity.java b/app/src/main/java/fr/gouv/etalab/mastodon/activities/ShowConversationActivity.java index c4570b2c1..ecd81a740 100644 --- a/app/src/main/java/fr/gouv/etalab/mastodon/activities/ShowConversationActivity.java +++ b/app/src/main/java/fr/gouv/etalab/mastodon/activities/ShowConversationActivity.java @@ -185,6 +185,7 @@ public class ShowConversationActivity extends BaseActivity implements OnRetriev intent.putExtras(b); finish(); startActivity(intent); + overridePendingTransition(android.R.anim.fade_in, android.R.anim.fade_out); } }); action_unhide.setOnClickListener(new View.OnClickListener() { @@ -211,6 +212,8 @@ public class ShowConversationActivity extends BaseActivity implements OnRetriev intent.putExtras(b); finish(); startActivity(intent); + overridePendingTransition(android.R.anim.fade_in, android.R.anim.fade_out); + } }); @@ -292,6 +295,7 @@ public class ShowConversationActivity extends BaseActivity implements OnRetriev intent.putExtras(b); finish(); startActivity(intent); + overridePendingTransition(android.R.anim.fade_in, android.R.anim.fade_out); } });