Toast toast = Toast.makeText(getApplication(), "提示的文字", Toast.LENGTH_SHORT);
toast.setGravity(Gravity.CENTER_VERTICAL,0,0);
toast.show();
Android Toast居中
最新推荐文章于 2023-08-23 20:59:56 发布