package de.markusfisch.android.shadereditor.fragment;

import de.markusfisch.android.shadereditor.adapter.UniformPageAdapter;
import de.markusfisch.android.shadereditor.R;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.view.ViewPager;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

public class UniformPagesFragment extends Fragment {
	@Override
	public View onCreateView(
			LayoutInflater inflater,
			ViewGroup container,
			Bundle state) {
		View view = inflater.inflate(
				R.layout.fragment_uniform_pages,
				container,
				false);

		ViewPager viewPager = view.findViewById(R.id.pager);
		viewPager.setAdapter(new UniformPageAdapter(
				getActivity(),
				getChildFragmentManager()));

		return view;
	}
}

@@ -530,16 +530,125 @@
 tate) %7B%0A
+%09%09// reset title if we're coming back from another fragment%0A%09%09getActivity().setTitle(R.string.add_uniform);%0A%0A
 %09%09View v

Reset title of add uniform/texture fragment