package com.mikescamell.sharedelementtransitions.simple_fragment_to_fragment;


import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.transition.TransitionInflater;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.mikescamell.sharedelementtransitions.R;

public class SimpleFragmentB extends Fragment {

    public SimpleFragmentB() {
        // Required empty public constructor
    }

    public static SimpleFragmentB newInstance() {
        return new SimpleFragmentB();
    }

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setSharedElementEnterTransition(TransitionInflater.from(getContext()).inflateTransition(R.transition.simple_fragment_transition));
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        return inflater.inflate(R.layout.fragment_b, container, false);
    }
}
@@ -73,16 +73,41 @@
 ment;%0A%0A%0A
+import android.os.Build;%0A
 import a
@@ -745,24 +745,97 @@
 anceState);%0A
+        if (Build.VERSION.SDK_INT %3E= Build.VERSION_CODES.LOLLIPOP) %7B%0A    
         setS
@@ -918,16 +918,24 @@
 nsition(
+android.
 R.transi
@@ -943,37 +943,25 @@
 ion.
-simple_fragment_transition));
+move));%0A        %7D
 %0A   

Update to default transition