fix navigation in portrait mode
This commit is contained in:
parent
ea1094fb54
commit
c4c6a21ea0
@ -163,6 +163,7 @@ public class MainActivity extends FragmentActivity implements OnlineServices {
|
||||
}
|
||||
|
||||
findViewById(R.id.article_fragment).setVisibility(View.GONE);
|
||||
findViewById(R.id.feeds_fragment).setVisibility(View.VISIBLE);
|
||||
|
||||
ft.replace(R.id.headlines_fragment, new DummyFragment(), "");
|
||||
}
|
||||
@ -211,6 +212,7 @@ public class MainActivity extends FragmentActivity implements OnlineServices {
|
||||
|
||||
} else {
|
||||
findViewById(R.id.article_fragment).setVisibility(View.GONE);
|
||||
findViewById(R.id.feeds_fragment).setVisibility(View.VISIBLE);
|
||||
|
||||
ft.replace(R.id.headlines_fragment, new DummyFragment(), "");
|
||||
}
|
||||
|
@ -119,6 +119,7 @@ public class OfflineActivity extends FragmentActivity implements
|
||||
|
||||
ft.replace(R.id.headlines_fragment, new DummyFragment(), "");
|
||||
|
||||
findViewById(R.id.feeds_fragment).setVisibility(View.VISIBLE);
|
||||
//findViewById(R.id.article_fragment).setVisibility(View.GONE);
|
||||
|
||||
ft.replace(R.id.article_fragment, new DummyFragment(), "");
|
||||
@ -162,6 +163,7 @@ public class OfflineActivity extends FragmentActivity implements
|
||||
} else {
|
||||
ft.replace(R.id.article_fragment, new DummyFragment(), "");
|
||||
|
||||
findViewById(R.id.feeds_fragment).setVisibility(View.VISIBLE);
|
||||
//findViewById(R.id.article_fragment).setVisibility(View.GONE);
|
||||
|
||||
ft.replace(R.id.headlines_fragment, new DummyFragment(), "");
|
||||
|
Loading…
Reference in New Issue
Block a user