package jp.mixi.assignment.controller.adv; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; /** * A simple {@link Fragment} subclass. * Use the {@link TitleFragment#newInstance} factory method to * create an instance of this fragment. */ public class TitleFragment extends Fragment { /** * Use this factory method to create a new instance of * this fragment using the provided parameters. * * @return A new instance of fragment TitleLabelFragment. */ public static TitleFragment newInstance() { TitleFragment fragment = new TitleFragment(); Bundle args = new Bundle(); fragment.setArguments(args); return fragment; } public TitleFragment() { // Required empty public constructor } @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); } @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { // Inflate the layout for this fragment return inflater.inflate(R.layout.fragment_title, container, false); } }