tweak actionbar title display

This commit is contained in:
Andrew Dolgov 2012-02-03 14:30:06 +03:00
parent b0002f903d
commit 03945cea2e
2 changed files with 0 additions and 2 deletions

View File

@ -1334,7 +1334,6 @@ public class MainActivity extends FragmentActivity implements OnlineServices {
getActionBar().setDisplayHomeAsUpEnabled(m_selectedArticle != null || m_activeCategory != null);
} else {
getActionBar().setDisplayHomeAsUpEnabled(m_selectedArticle != null || m_activeFeed != null || m_activeCategory != null);
getActionBar().setDisplayShowTitleEnabled(m_selectedArticle == null);
}
if (android.os.Build.VERSION.SDK_INT >= 14) {

View File

@ -813,7 +813,6 @@ public class OfflineActivity extends FragmentActivity implements
getActionBar().setDisplayHomeAsUpEnabled(m_selectedArticleId != 0);
} else {
getActionBar().setDisplayHomeAsUpEnabled(m_selectedArticleId != 0 || m_activeFeedId != 0);
getActionBar().setDisplayShowTitleEnabled(m_selectedArticleId == 0);
}
}
}