I have created a layout file which needs to displayed when a menu item is pressed.
public boolean onOptionItemSelected(MenuItem item){
switch (item.getItemId()) {
....
case R.id.help:
return true;
......
}
}
the help item menu should display the layout.xml file.