Back to project page DrawerView.
The source code is released under:
MIT License
If you think the Android project DrawerView 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.brimanning.drawerview; /*from w ww . ja v a2s . c om*/ import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; public class MainFragment extends Fragment { @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View rootView = inflater.inflate(R.layout.fragment_main, container, false); ((TextView) rootView.findViewById(R.id.section_label)).setText(R.string.fragment_text); return rootView; } }