@Override
 protected void onPostCreate(Bundle savedInstanceState) {
   super.onPostCreate(savedInstanceState);
   enableActionBarAutoHide(
       (CollectionView)
           findViewById(com.saarang.samples.apps.iosched.R.id.videos_collection_view));
 }
예제 #2
0
  @Override
  protected void onPostCreate(Bundle savedInstanceState) {
    super.onPostCreate(savedInstanceState);
    if (mDetachedMode) {
      final Toolbar toolbar = getActionBarToolbar();
      toolbar.setNavigationIcon(R.drawable.ic_up);
      toolbar.setNavigationOnClickListener(
          new View.OnClickListener() {
            @Override
            public void onClick(View view) {
              finish();
            }
          });
    }

    if (mMapFragment == null) {
      mMapFragment = MapFragment.newInstance();
      mMapFragment.setArguments(intentToFragmentArguments(getIntent()));
      getFragmentManager()
          .beginTransaction()
          .add(R.id.fragment_container_map, mMapFragment, "map")
          .commit();
    }

    mDetachedMode = getIntent().getBooleanExtra(EXTRA_DETACHED_MODE, false);

    ScrimInsetsFrameLayout scrimInsetsFrameLayout =
        (ScrimInsetsFrameLayout) findViewById(R.id.capture_insets_frame_layout);
    scrimInsetsFrameLayout.setOnInsetsCallback(this);
  }
예제 #3
0
 @Override
 protected void onPostCreate(Bundle savedInstanceState) {
   super.onPostCreate(savedInstanceState);
   if (mDrawerToggle != null) {
     mDrawerToggle.syncState();
   }
 }
예제 #4
0
 /**
  * When using the ActionBarDrawerToggle, you must call it during onPostCreate() and
  * onConfigurationChanged()...
  */
 @Override
 protected void onPostCreate(Bundle savedInstanceState) {
   super.onPostCreate(savedInstanceState);
   // Sync the toggle state after onRestoreInstanceState has occurred.
   mDrawerToggle.syncState();
 }
예제 #5
0
 @Override
 public void onPostCreate(Bundle savedInstanceState) {
   super.onPostCreate(savedInstanceState);
   drawerToggle.syncState();
 }
예제 #6
0
 @Override
 protected void onPostCreate(Bundle savedInstanceState) {
   setTitle(null);
   super.onPostCreate(savedInstanceState);
 }
예제 #7
0
 @Override
 protected void onPostCreate(Bundle savedInstanceState) {
   super.onPostCreate(savedInstanceState);
   mHelper.onPostCreate();
 }