fix offline article menu not showing correctly

This commit is contained in:
Andrew Dolgov 2013-05-29 21:16:00 +04:00
parent 491d8f082f
commit 5defed1292
2 changed files with 2 additions and 1 deletions

View File

@ -57,6 +57,7 @@
</activity>
<activity
android:name=".offline.OfflineHeadlinesActivity"
android:uiOptions="splitActionBarWhenNarrow"
android:label="@string/app_name" >
</activity>
<activity

View File

@ -141,7 +141,7 @@ public class OfflineHeadlinesActivity extends OfflineActivity implements Offline
OfflineHeadlinesFragment hf = (OfflineHeadlinesFragment)getSupportFragmentManager().findFragmentByTag(FRAG_HEADLINES);
m_menu.setGroupVisible(R.id.menu_group_headlines, hf != null && hf.isAdded() && hf.isVisible());
m_menu.setGroupVisible(R.id.menu_group_headlines, !isPortrait() && hf != null && hf.isAdded() && hf.isVisible());
Fragment af = getSupportFragmentManager().findFragmentByTag(FRAG_ARTICLE);