Fixed the master detail issue by replacing the Fragment Component with FrameLayout.