Display List view or Grid view in same layout on button click
<p>On my screen I have to display my data in form of Listview or Gridview on click of the button for users "button for Listview" and "button for Gridview",</p>

<p>I Have created two different layout files for listview and Gridview i want them to be showed as per user needs when he clicks on listview button i want it to be showed the data in lists and when user clicks Gridview button i want to show the user the data in Grid view.</p>

<p>Would appreciate your help. Thanks.</p>