From 6262231fe1af0a382ed0b527d0e13d8ca72082ea Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 25 Jun 2012 14:26:02 +0400 Subject: [PATCH] display list navigation in xlarge-portrait mode similar to small screen mode --- src/org/fox/ttrss/MainActivity.java | 2 +- src/org/fox/ttrss/offline/OfflineActivity.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/fox/ttrss/MainActivity.java b/src/org/fox/ttrss/MainActivity.java index 7903a1eb..d7dbb195 100644 --- a/src/org/fox/ttrss/MainActivity.java +++ b/src/org/fox/ttrss/MainActivity.java @@ -1428,7 +1428,7 @@ public class MainActivity extends CommonActivity implements OnlineServices { m_navigationAdapter.clear(); - if (m_activeCategory != null || (m_activeFeed != null && isSmallScreen())) { + if (m_activeCategory != null || (m_activeFeed != null && (isSmallScreen() || getOrientation() % 2 != 0))) { getActionBar().setDisplayShowTitleEnabled(false); getActionBar().setNavigationMode(ActionBar.NAVIGATION_MODE_LIST); diff --git a/src/org/fox/ttrss/offline/OfflineActivity.java b/src/org/fox/ttrss/offline/OfflineActivity.java index 513b0f6d..93ad838d 100644 --- a/src/org/fox/ttrss/offline/OfflineActivity.java +++ b/src/org/fox/ttrss/offline/OfflineActivity.java @@ -1400,7 +1400,7 @@ public class OfflineActivity extends CommonActivity implements m_navigationAdapter.clear(); - if (m_activeCatId != -1 || (m_activeFeedId != 0 && isSmallScreen())) { + if (m_activeCatId != -1 || (m_activeFeedId != 0 && (isSmallScreen() || getOrientation() % 2 != 0))) { getActionBar().setDisplayShowTitleEnabled(false); getActionBar().setNavigationMode(ActionBar.NAVIGATION_MODE_LIST);