Opening fragment from other fragment : Drawer
<p>I am using the below code to open another fragment from one fragment: </p>

<pre><code>track nextFrag= new track();
login.this.getFragmentManager().beginTransaction()
        .replace(R.id.content_frame, nextFrag, null)
        .addToBackStack(null)
        .commit();
</code></pre>

<p>Code works fine ( I can se ethe new fragment loaded) but the drawer keeps on highlighting the old one (as currently selected). How can I open a fragment and at the same time show it as currently selected in the drawer.</p>