content: package de.andreasschrade.androidtemplate.ui.quote;
  
  import android.os.Bundle;
  
  import de.andreasschrade.androidtemplate.R;
  import de.andreasschrade.androidtemplate.ui.base.BaseActivity;
  
  /**
   * Simple wrapper for {@link ArticleDetailFragment}
   * This wrapper is only used in single pan mode (= on smartphones)
   * Created by Andreas Schrade on 14.12.2015.
   */
  public class ArticleDetailActivity extends BaseActivity {
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_detail);
  
          // Show the Up button in the action bar.
          if (getSupportActionBar() != null) {
              getSupportActionBar().setDisplayHomeAsUpEnabled(true);
          }
  
          ArticleDetailFragment fragment =  ArticleDetailFragment.newInstance(getIntent().getStringExtra(ArticleDetailFragment.ARG_ITEM_ID));
          getFragmentManager().beginTransaction().replace(R.id.article_detail_container, fragment).commit();
      }
  
      @Override
      public boolean providesActivityToolbar() {
          return false;
      }
  }
  