display list navigation in xlarge-portrait mode similar to small screen

mode
This commit is contained in:
Andrew Dolgov 2012-06-25 14:26:02 +04:00
parent d4c8ea58bb
commit 6262231fe1
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);