안드로이드에서 Fragment는 FragmentManager가 관리하는데 이 넘은 Activity가 유지를 합니다. 그래서 아래와 같이 Fragment를 가지고 있는 Activity의 FragmentManager를 사용해서, Activity의 UI 구성요소 중에 하나인 R.id.activity_folder_detail_layout을 교체하는 형태로 구현하시면 됩니다.
FragmentTransaction frt = getActivity().getFragmentManager().beginTransaction();
Fragment newFragment = new SecondFragment();
frt.replace(R.id.activity_folder_detail_layout, newFragment);
frt.commitAllowingStateLoss();
만약 backbutton이 이전 Fragment로 동작하도록 구현해야 한다면 FragmentTransaction의 addToBackStack() 메서드를 사용하시면 됩니다.