Toast toast = Toast.makeText(this, "居中位置的Toast", Toast.LENGTH_LONG); toast.setGravity(Gravity.CENTER, 0, 0); toast.show();
本文标题:Toast居中
本文链接:https://www.haomeiwen.com/subject/yveekktx.html
网友评论