Android launch a fragment within a dialog fragment
<p>I have a dialog fragment and I need to launch a fragment within this dialog fragment. This means my fragment should occupy the same window as that of dialog fragment. How do I do this? This is my dialog fragment code - </p>

<pre><code>public class CallDialogFragment extends DialogFragment {
    @Override
        public View onCreateView(LayoutInflater inflater, ViewGroup container,
                                 Bundle savedInstanceState) {
            View view = inflater.inflate(R.layout.call_dialog_fragment, container, false);


            return view;
        }
}
</code></pre>