Back to project page GoogleNavigationDrawer.
The source code is released under:
Apache License
If you think the Android project GoogleNavigationDrawer 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 it.neokree.example; /*from ww w. j av a2s .com*/ import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.Gravity; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; /** * Created by neokree on 24/11/14. */ public class FragmentIndex extends Fragment { @Override public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { TextView text = new TextView(this.getActivity()); text.setText("Section"); text.setGravity(Gravity.CENTER); return text; } }