0tamega

root.java

Aug 10th, 2018
2,395
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. package com.dedykuncoro.kuncoronavdrawer;
  2.  
  3. import android.app.Fragment;
  4. import android.os.Bundle;
  5. import android.view.LayoutInflater;
  6. import android.view.View;
  7. import android.view.ViewGroup;
  8.  
  9. /**
  10. * Created by Kuncoro on 22/03/2016.
  11. */
  12. public class Root extends Fragment {
  13.  
  14. public Root(){}
  15. View rootView;
  16.  
  17. @Override
  18. public View onCreateView(LayoutInflater inflater, ViewGroup container,
  19. Bundle savedInstanceState) {
  20.  
  21. rootView = inflater.inflate(R.layout.root, container, false);
  22.  
  23. getActivity().setTitle("Kuncoro Nav Drawer");
  24.  
  25. return rootView;
  26. }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment