respect new headlines portrait layout in offline mode

This commit is contained in:
Andrew Dolgov 2012-10-09 13:12:33 +04:00
parent 1758f5a495
commit 2de1fc8130

View File

@ -43,6 +43,10 @@ public class OfflineHeadlinesActivity extends OfflineActivity implements Offline
setSmallScreen(findViewById(R.id.headlines_fragment) == null);
if (isPortrait()) {
findViewById(R.id.headlines_fragment).setVisibility(View.GONE);
}
if (savedInstanceState == null) {
Intent i = getIntent();