版权声明:本文可能为博主原创文章,若标明出处可随便转载。 https://blog.csdn.net/Jailman/article/details/78022427
添加三行代码即可
import android.widget.Toast;
String str = "Username or password error!";
Toast.makeText(MainActivity.this, str, Toast.LENGTH_LONG).show();
添加三行代码即可
import android.widget.Toast;
String str = "Username or password error!";
Toast.makeText(MainActivity.this, str, Toast.LENGTH_LONG).show();