Android Default Navigation
<p>In my application i want used the navigation. i used the below code. if clicked the button go to previous layout.</p>

<pre><code> public boolean onOptionsItemSelected(MenuItem item) {
    // Handle item selection
    switch (item.getItemId()) {
    case android.R.id.home:
        // app icon in action bar clicked;

        return true;
    default:
        return super.onOptionsItemSelected(item);
    }
} 
</code></pre>
