设置Toast显示的位置
可以使用如下方法设置 Toast 显示的位置
?
Set the location at which the notification should appear on the screen.
默认的 Gravity 是
int mGravity = Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM;