Back to project page BtnSlideMenu.
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.
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; } }