Android代码显示toast
Toast.makeText(this._getApplicationContext(), R.string._item, Toast.LENGTH_SHORT).show();
或者写成函数形式:
public void Display(String str)
{
Toast.[i]makeText[/i](
, str, Toast.[i]LENGTH_LONG[/i]).show();
}
Android代码显示toast
Toast.makeText(this._getApplicationContext(), R.string._item, Toast.LENGTH_SHORT).show();
或者写成函数形式:
public void Display(String str)
{
Toast.[i]makeText[/i](
, str, Toast.[i]LENGTH_LONG[/i]).show();
}