wangqing327 发表于 2019-10-18 17:51:43

提示框置任意位置

看到有小火伴在问怎么将提示框指定位置,无聊把官方提示框稍稍改了下,使其可以指定在任意位置显示
具体设置常量请参考:https://developer.android.google.cn/reference/android/view/Gravity?hl=en












ixiadao 发表于 2019-10-19 02:02:06

非常不错哈

lulume1 发表于 2020-6-17 14:37:04

这个在线程中用不得呀。Can't toast on a thread that has not called Looper.prepare()
页: [1]
查看完整版本: 提示框置任意位置