showDialog(DIALOG_RANK);
protected Dialog onCreateDialog(int id)
return new AlertDialog.Builder(this) .setMessage(msg) .setPositiveButton(R.string.ok, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int whichButton) { removeDialog(DIALOG_RANK);//清除缓存 } }) .create();
---------------------------------------------------------------------------------------------------------
引用跨文件资源:@reference_tag/variable_name
引用同文件资源:? variable_name