📜  toast 宽度匹配父级 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:50.507000             🧑  作者: Mango

代码示例1
Toast t = Toast.makeText(this, "Hello", Toast.LENGTH_SHORT);
t.setGravity(Gravity.FILL_HORIZONTAL, 0, 0);