Exemplo n.º 1
0
  @Override
  public void setContentView(int layoutResID) {
    super.setContentView(R.layout.activity_base_drawer);
    View view = View.inflate(this, layoutResID, null);
    findView();

    FrameLayout content = (FrameLayout) findViewById(R.id.base_content);
    content.addView(view);
    setupView();

    navigationView.setNavigationItemSelectedListener(this);
  }
Exemplo n.º 2
0
 @Override
 public void setContentView(int layoutResID) {
   super.setContentView(R.layout.activity_introduce);
   initItem();
 }