Android Open Source - BtnSlideMenu Second Fragment






From Project

Back to project page BtnSlideMenu.

License

The source code is released under:

Apache License

If you think the Android project BtnSlideMenu listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.hao.btnslidemenu;
//from   w  w  w  .j  ava  2s.  c  o m
import com.hao.btnslidemenu.R;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

public class SecondFragment  extends Fragment {
  private View mView;
  private MainActivity mActivity;

  @Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container,
      Bundle savedInstanceState) {
    mActivity = (MainActivity) getActivity();
    mView = inflater.inflate(R.layout.frag_second, null);
    return mView;
  }
}




Java Source Code List

com.hao.btnslidemenu.FirshFragment.java
com.hao.btnslidemenu.MainActivity.java
com.hao.btnslidemenu.SecondFragment.java
com.hao.btnslidemenu.ThirdFragment.java