Android消息提示之Toast

无废话,直接上代码:

Toast.makeText(this, "Pressed Search!", Toast.LENGTH_LONG).show(); 

Toast.makeText(this, "Pressed Search!", Toast.LENGTH_SHORT).show();

你可能感兴趣的:(Android)