A simple question. I want a static dialog message with ONLY text to popup when pressed a button in an options menu. This is my menu code:
@Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case R.id.icon:
Intent intent = new Intent(this, Main.class);
startActivity(intent);
case R.id.help:
//popup window code here
}
return true;
}
}
How do I do it the easiest way?
or u can i use the dialog boxes
}