public static void enableViewTransitions(final Activity activity) {
        if (activity == null || activity.getWindow() == null) {
            return;
        }
        final Window w = activity.getWindow();
        w.setSharedElementsUseOverlay(true);
        final Transition trans = TransitionInflater.from(activity).inflateTransition(R.transition.imageview_smooth_transition);
        w.setSharedElementEnterTransition(trans);
        w.setSharedElementExitTransition(trans);
    }
sets properties for activity to enable smooth image transation between master/list and detail activity
main/src/main/java/cgeo/geocaching/ImageViewActivity.java