diff --git a/res/anim/right_slide_in.xml b/res/anim/right_slide_in.xml
new file mode 100644
index 00000000..2bb5acc1
--- /dev/null
+++ b/res/anim/right_slide_in.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
diff --git a/res/anim/right_slide_out.xml b/res/anim/right_slide_out.xml
new file mode 100644
index 00000000..134467f5
--- /dev/null
+++ b/res/anim/right_slide_out.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
diff --git a/res/anim/slide_left.xml b/res/anim/slide_left.xml
deleted file mode 100644
index 80caa7d7..00000000
--- a/res/anim/slide_left.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/res/anim/slide_right.xml b/res/anim/slide_right.xml
deleted file mode 100644
index a5617eae..00000000
--- a/res/anim/slide_right.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/org/fox/ttrss/FeedsActivity.java b/src/org/fox/ttrss/FeedsActivity.java
index a129c10c..da1d58e2 100644
--- a/src/org/fox/ttrss/FeedsActivity.java
+++ b/src/org/fox/ttrss/FeedsActivity.java
@@ -315,6 +315,7 @@ public class FeedsActivity extends OnlineActivity implements HeadlinesEventListe
intent.putExtra("searchQuery", hf.getSearchQuery());
startActivityForResult(intent, 0);
+ overridePendingTransition(R.anim.right_slide_in, 0);
}
} else {
initMenu();
diff --git a/src/org/fox/ttrss/HeadlinesActivity.java b/src/org/fox/ttrss/HeadlinesActivity.java
index 9b5d8a1f..81dd1043 100644
--- a/src/org/fox/ttrss/HeadlinesActivity.java
+++ b/src/org/fox/ttrss/HeadlinesActivity.java
@@ -234,4 +234,10 @@ public class HeadlinesActivity extends OnlineActivity implements HeadlinesEventL
}
}
}
+
+ @Override
+ public void onBackPressed() {
+ super.onBackPressed();
+ overridePendingTransition(0, R.anim.right_slide_out);
+ }
}
diff --git a/src/org/fox/ttrss/OnlineActivity.java b/src/org/fox/ttrss/OnlineActivity.java
index 36c46461..bade4628 100644
--- a/src/org/fox/ttrss/OnlineActivity.java
+++ b/src/org/fox/ttrss/OnlineActivity.java
@@ -439,6 +439,7 @@ public class OnlineActivity extends CommonActivity {
intent.setFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION);
startActivityForResult(intent, 0);
+ overridePendingTransition(0, 0);
if (hasPendingOfflineData())
syncOfflineData();