display list navigation in xlarge-portrait mode similar to small screen
mode
This commit is contained in:
parent
d4c8ea58bb
commit
6262231fe1
@ -1428,7 +1428,7 @@ public class MainActivity extends CommonActivity implements OnlineServices {
|
|||||||
|
|
||||||
m_navigationAdapter.clear();
|
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().setDisplayShowTitleEnabled(false);
|
||||||
getActionBar().setNavigationMode(ActionBar.NAVIGATION_MODE_LIST);
|
getActionBar().setNavigationMode(ActionBar.NAVIGATION_MODE_LIST);
|
||||||
|
|
||||||
|
@ -1400,7 +1400,7 @@ public class OfflineActivity extends CommonActivity implements
|
|||||||
|
|
||||||
m_navigationAdapter.clear();
|
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().setDisplayShowTitleEnabled(false);
|
||||||
getActionBar().setNavigationMode(ActionBar.NAVIGATION_MODE_LIST);
|
getActionBar().setNavigationMode(ActionBar.NAVIGATION_MODE_LIST);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user