我的选项菜单中有一个 about 项目。当我单击 about 时,将出现一个对话框,但仅显示文本“这是一个对话框”。
我希望它显示“ MYapp是我开发的有趣应用”的文字。
这是代码。我已经将我的文本放入代码中,但是不会显示出来。如何在对话框中显示我的文字?
//Dialog
public void openDialog() {
AboutDialog aboutDialog = new AboutDialog();
aboutDialog.show( getSupportFragmentManager(), "MYapp is a fun app that had been developed by me." );
}