@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getSupportActionBar().setDisplayShowHomeEnabled(true); _vmgr = (VBoxSvc) getIntent().getParcelableExtra(VBoxSvc.BUNDLE); setContentView(R.layout.machine_list); FrameLayout detailsFrame = (FrameLayout) findViewById(R.id.details); _dualPane = detailsFrame != null && detailsFrame.getVisibility() == View.VISIBLE; if (_dualPane) { getSupportActionBar().setNavigationMode(ActionBar.NAVIGATION_MODE_TABS); _tabSupport = new TabSupportActionBarViewPager(this, R.id.details); } startService(new Intent(this, EventIntentService.class).putExtras(getIntent())); }
@Override protected void onStart() { super.onStart(); setSupportProgressBarIndeterminateVisibility(false); }
@Override public void finish() { super.finish(); Utils.overrideBackTransition(this); }