Abstracted the code of creating a single fragment hosted by the generic layout file into a class SingleFragmentActivity. CrimeActivity now extends that class and uses the abstracted code.