From c4c6a21ea05a139dafee0d198b7ec8ed8b9d36b2 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 24 Jun 2012 14:50:14 +0400 Subject: [PATCH] fix navigation in portrait mode --- src/org/fox/ttrss/MainActivity.java | 2 ++ src/org/fox/ttrss/offline/OfflineActivity.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/org/fox/ttrss/MainActivity.java b/src/org/fox/ttrss/MainActivity.java index b40ddde9..46b65771 100644 --- a/src/org/fox/ttrss/MainActivity.java +++ b/src/org/fox/ttrss/MainActivity.java @@ -163,6 +163,7 @@ public class MainActivity extends FragmentActivity implements OnlineServices { } findViewById(R.id.article_fragment).setVisibility(View.GONE); + findViewById(R.id.feeds_fragment).setVisibility(View.VISIBLE); ft.replace(R.id.headlines_fragment, new DummyFragment(), ""); } @@ -211,6 +212,7 @@ public class MainActivity extends FragmentActivity implements OnlineServices { } else { findViewById(R.id.article_fragment).setVisibility(View.GONE); + findViewById(R.id.feeds_fragment).setVisibility(View.VISIBLE); ft.replace(R.id.headlines_fragment, new DummyFragment(), ""); } diff --git a/src/org/fox/ttrss/offline/OfflineActivity.java b/src/org/fox/ttrss/offline/OfflineActivity.java index 3b752c10..86c51839 100644 --- a/src/org/fox/ttrss/offline/OfflineActivity.java +++ b/src/org/fox/ttrss/offline/OfflineActivity.java @@ -119,6 +119,7 @@ public class OfflineActivity extends FragmentActivity implements ft.replace(R.id.headlines_fragment, new DummyFragment(), ""); + findViewById(R.id.feeds_fragment).setVisibility(View.VISIBLE); //findViewById(R.id.article_fragment).setVisibility(View.GONE); ft.replace(R.id.article_fragment, new DummyFragment(), ""); @@ -162,6 +163,7 @@ public class OfflineActivity extends FragmentActivity implements } else { ft.replace(R.id.article_fragment, new DummyFragment(), ""); + findViewById(R.id.feeds_fragment).setVisibility(View.VISIBLE); //findViewById(R.id.article_fragment).setVisibility(View.GONE); ft.replace(R.id.headlines_fragment, new DummyFragment(), "");